/sdlc:contract-manifestfrom sdlc
Generates a human-readable manifest for an AIWG skill chain, mapping each skill's requires/ensures contracts, data flow, and parallelization opportunities. Useful for planning and debugging multi-skill workflows.
Ships in sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a manifest showing how a chain of AIWG skills connects — mapping each skill's ensures: outputs to the next skill's requires: inputs.
Ordered list of skill names or paths:
/contract-manifest issue-planner address-issues
/contract-manifest prose-detect prose-run forme-manifest
--workflow <file> (optional)Path to a YAML workflow definition:
# workflow.yaml
name: Issue Planning Pipeline
steps:
- skill: issue-planner
- skill: address-issues
- skill: issue-sync
--mermaid (optional)Include a Mermaid LR diagram of the skill chain.
--json (optional)Output the manifest as machine-readable JSON instead of Markdown.
For each skill name, find the canonical SKILL.md:
agentic/code/frameworks/sdlc-complete/skills/{name}/SKILL.mdagentic/code/addons/*/skills/{name}/SKILL.md.claude/skills/{name}/SKILL.mdFrom each skill's YAML frontmatter, extract:
requires: — inputs the skill needsensures: — outputs the skill commits to delivererrors: — failure conditionsinvariants: — always-true propertiesIf a skill has no contract fields, note it as "contract not yet defined."
For each skill's requires: entry, find the upstream source:
ensures: entry with the same name → direct wire ✓ensures: entry that means the same thing (e.g., issues-filed ↔ issues) → semantic wire ⚠️ (flag as warning)requires: (user provides it) → external →ensures: must wait for that skill## Contract Manifest: {workflow name or skill list}
### Skills
| Skill | Requires | Ensures | Errors |
|-------|----------|---------|--------|
| issue-planner | objective, tracker | issues-filed, research-brief | no-tracker-access, research-failed |
| address-issues | issues, tracker | cycle-comments, aggregate-report | tracker-unavailable |
### Data Flow
| Source Skill | Output | → | Target Skill | Input | Match |
|-------------|--------|---|-------------|-------|-------|
| (external) | objective | → | issue-planner | objective | ✓ exact |
| issue-planner | issues-filed | → | address-issues | issues | ⚠️ semantic |
| issue-planner | tracker | → | address-issues | tracker | ✓ exact |
### Execution Order
1. issue-planner (requires: external inputs only)
2. address-issues (requires: issue-planner.issues-filed, issue-planner.tracker)
**Parallel groups**: [issue-planner] → [address-issues]
### Warnings
- `issue-planner.issues-filed` → `address-issues.issues`: semantic match only (names differ; verify intent)
### Issues
- None
--mermaid)graph LR
Input[External Input] --> A[issue-planner]
A -->|issues-filed| B[address-issues]
A -->|tracker| B
B --> Output[Aggregate Report]
| Flag | Format | Use Case |
|---|---|---|
| (default) | Markdown | Human review |
--json | JSON | Tooling, CI integration |
--mermaid | Markdown + embedded Mermaid | Documentation |
Runs on Sonnet — contract extraction and matching is structural analysis.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-chain, contract-analysis, workflow-visualization, aiwg
117 skills in this plugin
/address-issuesAddress open issues or deliver a milestone with bounded workers, triage, independent verification, signed merge and post-merge CI/address-issues-threat-assessPreflight issue bodies for prompt-injection and supply-chain risk before address-issues acts on them/aiwg-kbSearch AIWG knowledge base for help, documentation, and troubleshooting/aiwg-setup-projectUpdate project CLAUDE.md with AIWG framework context and configurationnpx claudepluginhub jmagly/aiwg --plugin sdlcOther plugins' skills for the same job