musubix-traceability
БесплатноБез исполняемых скриптовНе проверенGuide for managing traceability between requirements, designs, code, and tests. Use this when asked to verify traceability, create traceability matrices, or…
от nahisaho★ 15 звёзд на GitHubОб этом скилле
MUSUBIX Traceability Skill
This skill guides you through maintaining full traceability across the development lifecycle.
Overview
MUSUBIX enforces Article V - Traceability: Complete bidirectional tracing between:
Requirements (REQ-*) ↔ Design (DES-*) ↔ Tasks (TSK-*) ↔ Code ↔ Tests
Traceability Matrix
Creating a Traceability Matrix
# Traceability Matrix
| 要件ID | 設計ID | タスクID | コード | テスト |
|--------|--------|---------|--------|--------|
| REQ-AUTH-001 | DES-AUTH-001 | TSK-001 | src/auth/auth-service.ts | auth.test.ts |
| REQ-AUTH-002 | DES-AUTH-001 | TSK-002 | src/auth/token-manager.ts | token.test.ts |
CLI Commands
# Generate traceability matrix
npx musubix trace matrix
# Impact analysis for a specific requirement
npx musubix trace impact REQ-AUTH-001
# Validate all traceability links
npx musubix trace validate
Traceability in Code
Adding Traceability Comments
/**
* AuthService - 認証サービス
* @requirement REQ-AUTH-001
* @design DES-AUTH-001
* @task TSK-001
*/
export class AuthService {
/**
* ユーザー認証
* @requirement REQ-AUTH-001
*/
async authenticate(credentials: Credentials): Promise<Result<Token, AuthError>> {
// Implementation
}
}
Test Traceability
/**
* @requirement REQ-AUTH-001
* @design DES-AUTH-001
*/
describe('AuthService', () => {
describe('authenticate', () => {
it('should return token for valid credentials', async () => {
// Test implementation
});
});
});
Impact Analysis
When a requirement changes, identify all affected artifacts:
flowchart LR
REQ[REQ-AUTH-001<br/>変更] --> DES[DES-AUTH-001<br/>設計]
DES --> TSK1[TSK-001<br/>タスク]
DES --> TSK2[TSK-002<br/>タスク]
TSK1 --> CODE1[auth-service.ts]
TSK2 --> CODE2[token-manager.ts]
CODE1 --> TEST1[auth.test.ts]
CODE2 --> TEST2[token.test.ts]
Impact Analysis Steps
- Identify changed requirement (REQ-*)
- Find linked designs (DES-*)
- Find linked tasks (TSK-*)
- Locate affected code files
- Identify tests to update
- Update all artifacts
Traceability Storage
storage/traceability/
├── matrix.json # Full traceability matrix
├── requirements-map.json # REQ -> DES mappings
├── design-map.json # DES -> TSK mappings
└── code-map.json # TSK -> Code mappings
Verification Checklist
Before completing any feature:
- All requirements have linked designs
- All designs have linked tasks
- All tasks have linked code
- All code has linked tests
- Traceability comments in code
- Matrix updated
MCP Tool
Use MCP tool for automated validation:
Tool: sdd_validate_traceability
Description: Validates bidirectional traceability across all artifacts
Related Skills
musubix-sdd-workflow- Full SDD workflowmusubix-ears-validation- Requirements validationmusubix-test-generation- Generate tests with traceability
Установить musubix-traceability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл musubix-traceability?
Guide for managing traceability between requirements, designs, code, and tests. Use this when asked to verify traceability, create traceability matrices, or perform impact analysis.
Как установить скилл musubix-traceability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл musubix-traceability запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic