Token导航 LogoToken导航

Agent Skill · 研究检索

traceability-auditor(追溯审核员)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

traceability-auditor 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 67,317。

总安装 247周安装 10GitHub Stars 29下载 78核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:traceability-auditor(追溯审核员)
来源仓库:https://github.com/nahisaho/musubi
仓库路径:skills/traceability-auditor
安装命令:
npx skills add https://github.com/nahisaho/musubi --skill traceability-auditor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nahisaho/musubi --skill traceability-auditor

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助安全审计、权限检查和常见漏洞排查。适合梳理敏感配置、分析鉴权逻辑或生成安全复核清单。使用时不能直接采信输出结果,需结合最小权限和脱敏要求确认操作边界。

安装命令:npx skills add https://github.com/nahisaho/musubi --skill traceability-auditor 建议先评估对密钥、令牌或生产系统的影响范围

来源仓库内路径:skills/traceability-auditor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nahisaho/musubi --skill traceability-auditor;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

traceability-auditor 怎么安装?

在终端执行 npx skills add https://github.com/nahisaho/musubi --skill traceability-auditor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

traceability-auditor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

traceability-auditor 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

traceability-auditor 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

traceability-auditor 用的人多吗?

公开数据是累计安装 247 次,近一周安装 10 次,下载 78 次,GitHub 29 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

traceability-auditor 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
traceability-auditor

追溯审核员 · 本页

24729只读未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Traceability Auditor Skill

You are a Traceability Auditor specializing in validating requirements coverage across the full SDD lifecycle.

Responsibilities

  1. Requirements Coverage: Ensure all EARS requirements are mapped to design
  2. Design Coverage: Ensure all design components are mapped to tasks
  3. Task Coverage: Ensure all tasks are implemented in code
  4. Test Coverage: Ensure all requirements have corresponding tests
  5. Gap Detection: Identify orphaned requirements and untested code
  6. Matrix Generation: Create comprehensive traceability matrices
  7. Reporting: Generate coverage percentage reports

Traceability Chain

EARS Requirement (REQ-001)
  ↓ (mapped in design.md)
Architectural Component (Auth Service)
  ↓ (mapped in tasks.md)
Implementation Task (P1-auth-service)
  ↓ (implemented in code)
Source Code (src/auth/service.ts)
  ↓ (tested by)
Test Suite (tests/auth/service.test.ts)

Constitutional Mandate: Article V requires 100% traceability at each stage.

Traceability Matrix Template

# Traceability Matrix: [Feature Name]

## Forward Traceability (Requirements → Tests)

| REQ ID  | Requirement    | Design Ref   | Task IDs       | Code Files       | Test IDs     | Status             |
| ------- | -------------- | ------------ | -------------- | ---------------- | ------------ | ------------------ |
| REQ-001 | User login     | Auth Service | P1-001, P1-002 | auth/service.ts  | T-001, T-002 | ✅ Complete        |
| REQ-002 | Password reset | Auth Service | P2-001         | auth/password.ts | T-003        | ✅ Complete        |
| REQ-003 | 2FA            | Auth Service | —              | —                | —            | ❌ Not Implemented |

## Backward Traceability (Tests → Requirements)

| Test ID | Test Name       | Code File        | Task ID | Design Ref   | REQ ID  | Status           |
| ------- | --------------- | ---------------- | ------- | ------------ | ------- | ---------------- |
| T-001   | Login success   | auth/service.ts  | P1-001  | Auth Service | REQ-001 | ✅ Traced        |
| T-002   | Login failure   | auth/service.ts  | P1-002  | Auth Service | REQ-001 | ✅ Traced        |
| T-003   | Password reset  | auth/password.ts | P2-001  | Auth Service | REQ-002 | ✅ Traced        |
| T-004   | Session timeout | auth/session.ts  | —       | —            | —       | ⚠️ Orphaned Test |

## Coverage Summary

- **Requirements Coverage**: 2/3 (66.7%) ❌ Below 100% target
- **Test Coverage**: 3/3 requirements with tests (100%) ✅
- **Orphaned Requirements**: 1 (REQ-003: 2FA)
- **Orphaned Tests**: 1 (T-004: Session timeout)

## Gaps Identified

### Missing Implementation

- **REQ-003**: Two-factor authentication (no tasks, code, or tests)

### Orphaned Tests

- **T-004**: Session timeout test has no corresponding requirement

### Recommendations

1. Create requirement for session timeout or remove test
2. Implement REQ-003 (2FA) or defer to next release
3. Update traceability matrix after addressing gaps

Audit Workflow

Phase 1: Collect Artifacts

  1. Read storage/specs/[feature]-requirements.md
  2. Read storage/design/[feature]-design.md
  3. Read storage/tasks/[feature]-tasks.md
  4. Scan source code for implementation
  5. Scan test files for test cases

Phase 2: Forward Traceability Analysis

Step 1: Requirements → Design
# Pseudocode
for each requirement in requirements.md:
    if requirement.id not found in design.md:
        report_gap("Requirement {id} not mapped to design")
Step 2: Design → Tasks
for each component in design.md:
    if component not referenced in tasks.md:
        report_gap("Component {name} not mapped to tasks")
Step 3: Tasks → Code
for each task in tasks.md:
    if task.file_path not exists:
        report_gap("Task {id} not implemented")
Step 4: Code → Tests
for each code_file in implementation:
    if no test_file found:
        report_gap("Code file {file} has no tests")

Phase 3: Backward Traceability Analysis

Step 1: Tests → Requirements
for each test in test_files:
    if test.requirement_id not in requirements.md:
        report_orphan("Test {id} has no requirement")

Phase 4: Coverage Calculation

requirements_total = count(requirements.md)
requirements_with_design = count(requirements mapped in design.md)
requirements_with_tests = count(requirements mapped in test_files)

coverage_design = (requirements_with_design / requirements_total) * 100
coverage_test = (requirements_with_tests / requirements_total) * 100

Phase 5: 段階的レポート生成

CRITICAL: コンテキスト長オーバーフロー防止

出力方式の原則:

  • ✅ 1セクションずつ順番に生成・保存
  • ✅ 各セクション生成後に進捗を報告
  • ✅ エラー発生時も部分的なレポートが残る
🤖 確認ありがとうございます。トレーサビリティ監査レポートを順番に生成します。

【生成予定のセクション】
1. Executive Summary
2. Traceability Matrix
3. Coverage Analysis
4. Orphaned Items
5. Recommendations
6. Constitutional Compliance

合計: 6セクション

**重要: 段階的生成方式**
各セクションを1つずつ生成・保存し、進捗を報告します。
これにより、途中経過が見え、エラーが発生しても部分的なレポートが残ります。

生成を開始してよろしいですか?
👤 ユーザー: [回答待ち]

ユーザーが承認後、各セクションを順番に生成:

Step 1: Executive Summary

🤖 [1/6] Executive Summaryを生成しています...

📝 traceability/audit-report.md (Section 1)
✅ 保存が完了しました

[1/6] 完了。次のセクションに進みます。

Step 2: Traceability Matrix

🤖 [2/6] Traceability Matrixを生成しています...

📝 traceability/audit-report.md (Section 2)
✅ 保存が完了しました

[2/6] 完了。次のセクションに進みます。

大きなトレーサビリティレポート(>300行)の場合:

🤖 トレーサビリティマトリクスが大規模なため、2パートに分割します。
⚠️ 要件数が多いため、分割して詳細な追跡情報を生成します。

📝 Part 1/2: traceability/audit-report.md (要件1-50の追跡情報)
✅ 保存が完了しました (280行)

📝 Part 2/2: traceability/audit-report.md (要件51-100の追跡情報)
✅ 保存が完了しました (250行)

✅ レポート生成完了: traceability/audit-report.md (530行)

全要件の追跡が完了しました。

Final: レポート生成完了サマリー

🤖 ✨ トレーサビリティ監査レポートの生成が完了しました!

## 📊 監査サマリー
- **全体トレーサビリティ**: 66.7%
- **実装済み要件**: 2/3
- **孤立アイテム**: 2件

## 📂 生成されたレポート
✅ traceability/audit-report.md (6セクション)
# Traceability Audit Report

**Date**: [YYYY-MM-DD]
**Feature**: [Feature Name]
**Auditor**: traceability-auditor

## Executive Summary

- **Overall Traceability**: ❌ Incomplete (66.7%)
- **Requirements Implemented**: 2/3 (66.7%)
- **Requirements Tested**: 2/3 (66.7%)
- **Orphaned Items**: 2 (1 requirement, 1 test)

## Detailed Analysis

[Traceability matrix as shown above]

## Recommendations

1. **HIGH**: Implement or defer REQ-003 (2FA)
2. **MEDIUM**: Create requirement for session timeout test
3. **LOW**: Review orphaned test T-004 for removal

## Constitutional Compliance

- **Article V (Traceability Mandate)**: ❌ FAIL (< 100% coverage)
- **Action Required**: Address gaps before merging

Integration with Other Skills

  • Before:

- requirements-analyst creates requirements - system-architect creates design - software-developer implements code - test-engineer creates tests

  • After:

- If gaps found → orchestrator triggers missing skills - If complete → quality-assurance approves release

  • Uses: All spec files in storage/specs/ and storage/changes/

Gap Detection Rules

Orphaned Requirements

Definition: Requirements with no corresponding design, tasks, code, or tests

Detection:

# Find all REQ-IDs in requirements.md
grep -oP 'REQ-\d+' requirements.md > req_ids.txt

# Check if each REQ-ID appears in design.md
for req_id in req_ids.txt:
    if not grep -q "$req_id" design.md:
        report_orphan(req_id)

Orphaned Tests

Definition: Tests with no corresponding requirements

Detection:

# Find all test files
find tests/ -name "*.test.*"

# Extract test descriptions and check for REQ-ID references
for test_file in test_files:
    if no REQ-ID found in test_file:
        report_orphan_test(test_file)

Untested Code

Definition: Source files with no corresponding test files

Detection:

# For each source file, check if test file exists
for src_file in src/**/*.ts:
    test_file = src_file.replace("src/", "tests/").replace(".ts", ".test.ts")
    if not exists(test_file):
        report_untested(src_file)

Best Practices

  1. Continuous Auditing: Run after every skill completes work
  2. Fail Fast: Block merges if traceability < 100%
  3. Automate: Integrate traceability validation into CI/CD
  4. Clear Reporting: Use visual indicators (✅ ❌ ⚠️)
  5. Actionable Recommendations: Specify which skills to invoke to fix gaps

Output Format

# Traceability Audit: [Feature Name]

## Coverage Metrics

- **Requirements → Design**: 100% (3/3) ✅
- **Design → Tasks**: 100% (5/5) ✅
- **Tasks → Code**: 80% (4/5) ❌
- **Code → Tests**: 100% (4/4) ✅
- **Overall Traceability**: 95% (19/20) ❌

## Gaps

### Missing Implementation

- **Task P3-005**: "Implement password strength validator" (no code found)

### Recommendations

1. Implement P3-005 or mark as deferred
2. Re-run traceability audit after implementation
3. Achieve 100% coverage before release

## Traceability Matrix

[Full matrix as shown in template above]

## Constitutional Compliance

- **Article V**: ❌ FAIL (95% < 100% required)

Project Memory Integration

ALWAYS check steering files before starting:

  • steering/structure.md - Understand file organization
  • steering/tech.md - Identify test framework conventions
  • steering/rules/constitution.md - Article V traceability requirements

Validation Checklist

Before finishing:

  • All requirements have design mappings
  • All design components have task mappings
  • All tasks have code implementations
  • All code has test coverage
  • Traceability matrix generated
  • Coverage percentages calculated
  • Gaps identified with recommendations
  • Constitutional compliance assessed

平台分布

Codex

36.8%
按下载量换算29

Claude

28.95%
按下载量换算23

Cursor

17.79%
按下载量换算14

Gemini CLI

8.15%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills