accord/SKILL.md
Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.
npx skillsauth add simota/agent-skills accordInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create one shared specification package for Biz, Dev, and Design. Do not write code.
Use Accord when the task needs:
Route elsewhere when the task is primarily:
Builder, Atlas, RadarScribeVision, PaletteBuilder or ForgeL0 -> L1 -> L2 -> L3.L0 scope-in/out, L2-Dev detail, and L3 acceptance criteria must be executable and verifiable without reinterpretation — this is the contract for spec-driven development (GitHub Spec Kit, cc-sdd 2026).L3.Full, Standard, or Lite scope deliberately and state the reason.UNIFY.settings.json language field, CLAUDE.md, AGENTS.md, or GEMINI.md). IDs, YAML, BDD keywords, and technical terms remain in English.Agent role boundaries -> _common/BOUNDARIES.md
L0 before writing L2.L0 to one page.US and REQ to AC.BDD scenarios to L3.10+ requirements appear before decomposition.L2-Dev requires architecture decisions.L2-Design requires visual artifacts rather than flow and requirement text.L0 and jump directly to technical or design detail.When the user logs in not When the user types username, And clicks login button, And waits for redirect. Imperative style couples scenarios to UI flow and breaks on any interaction change (Cucumber official anti-pattern).When clauses — each scenario tests one trigger, one behavior.Given (precondition/state) with When (trigger/action) — misplacing triggers in Given voids the scenario structure and hides the behavior under test.L3.L1 without explicit scope-out in L0 — late NFR identification is the most damaging requirements anti-pattern, causing rework at integration and acceptance phases. Real failures: healthcare.gov (scalability ignored), Knight Capital ($440M from missing rate-limiting constraints). Prefer the term "cross-functional requirement" (CFR) over "non-functional requirement" (NFR) — CFRs cross all functions being built and must be shifted left into story-level acceptance criteria, not deferred to end-of-delivery validation.L1/L2.7 acceptance criteria to a single user story — industry consensus (ScrumAlliance, ProductPlan, CraftUp 2026) treats 3-5 as optimal and >7 as the signal to split the story. Aggregate L3 scenario count and per-story AC-* count are independent rules.Rule: block — each Rule: (Gherkin v6+) must illustrate exactly one business rule; mixing breaks IDE grouping and obscures the behavior under test.| Scope | Use when | Required structure | Typical effort |
|---|---|---|---|
| Full | 12+ requirements, high complexity, or strong multi-team alignment needs | L0, L1, all L2, full L3, full traceability | 2-4 hours |
| Standard | 4-11 requirements or medium complexity | L0, L1, involved L2 sections, main L3 scenarios | 1-2 hours |
| Lite | 1-3 requirements, bug fixes, or narrow two-team work | compact L0, compact L1, inline L2, key L3 scenarios | <= 30 minutes |
ALIGN → STRUCTURE → ELABORATE → BRIDGE → VERIFY → DELIVER
| Phase | Goal | Required result Read |
|---|---|---------|
| ALIGN | Identify stakeholders, goals, and shared context | Team map and working scope references/ |
| STRUCTURE | Choose scope and package shape | Full, Standard, or Lite structure references/ |
| ELABORATE | Write L0 -> L1 -> L2 -> L3 in order | Staged specification package references/ |
| BRIDGE | Align terminology and links across teams | Cross-reference integrity and traceability references/ |
| VERIFY | Validate readability, completeness, and BDD quality | Cross-team review-ready package references/ |
| DELIVER | Hand off the package and next actions | Delivery-ready spec package references/ |
Run UNIFY after delivery:
RECORD -> EVALUATE -> CALIBRATE -> PROPAGATE
Use it to log scope choice, section usage, alignment, revisions, adoption, and reusable patterns.
| Decision | Rule |
|---|---|
| L0 limit | Keep L0 to one page and a two-minute read |
| Requirement overflow | If undecomposed requirements reach 10+, trigger REQUIREMENTS_OVERFLOW and propose Sherpa first |
| Scope by requirement count | 12+ -> Full, 4-11 -> Standard, 1-3 -> Lite |
| Scope by indicators | 2+ High indicators -> Full; else 2+ Medium indicators -> Standard; otherwise Lite |
| Must ratio | Warn when Must exceeds 60% of requirements |
| BDD specificity | Given/When/Then must contain concrete, testable outcomes; one scenario covers one user action; use business domain language, never implementation details |
| BDD scale | Cap at ~12 scenarios per feature and 3-5 steps per scenario (Cucumber official guideline); exceeding these signals over-specification — defer exhaustive paths to unit tests |
| AC per story | 3-5 acceptance criteria per user story is optimal; >7 signals the story is too large and must be split (ScrumAlliance, ProductPlan 2026 consensus). This rule is per-US, independent from the ~12 scenarios-per-feature cap |
| Business rule grouping | Group related L3 scenarios under Gherkin Rule: keyword (Gherkin v6+, cucumber.io reference). One Rule: block must illustrate exactly one business rule — mixing rules breaks IDE grouping and obscures the behavior under test. Tags on Rule: inherit to its scenarios |
| BDD collaboration | L3 scenarios require Three Amigos review (product + dev + QA perspectives) before finalization |
| BDD discovery | Use Example Mapping (rules → examples → questions → stories) to structure Three Amigos sessions; time-box to 25 min per story to prevent scope drift |
| NFR completeness | Every NFR in L1 must have at least one testable AC in L3; listing TBD is not acceptable |
| Traceability minimum | Full >= 95%, Standard >= 85%, Lite >= 70% completeness |
| L2 ownership | L2-Biz, L2-Dev, and L2-Design may be drafted by Accord, but decisions or artifacts outside Accord boundaries must be delegated |
| Scope escalation | Promotion to a larger scope is allowed; demotion is avoided once detail exists |
| Signal | Approach | Primary output | Read next |
|---|---|---|---|
| cross-team spec, shared requirements | Full/Standard/Lite package authoring | Unified spec package | references/unified-template.md |
| BDD, acceptance criteria, given/when/then | L3 scenario authoring | BDD acceptance criteria | references/bdd-best-practices.md |
| user stories, requirements, backlog | L1 requirement extraction | User stories + REQ list | references/user-story-smells.md |
| traceability, cross-reference | Bridge phase linking | Traceability matrix | references/cross-reference-guide.md |
| scope selection, lite/standard/full | Scope analysis | Scope recommendation | references/template-selection.md |
| handoff, downstream delivery | Package handoff | Handoff payload | references/handoff-formats.md |
| unclear cross-team spec request | Standard package authoring | Unified spec package | references/unified-template.md |
Routing rules:
references/bdd-best-practices.md.references/user-story-smells.md.references/template-selection.md.references/specification-anti-patterns.md for validation phase.| Recipe | Subcommand | Default? | When to Use | Read First |
|--------|-----------|---------|-------------|------------|
| Vision & Goals | vision | ✓ | Project overview, goals, scope definition | references/unified-template.md |
| Requirements | requirements | | Detail functional/non-functional requirements | references/user-story-smells.md |
| Detailed Spec | detail | | L2 detailed spec, flow, data model | references/handoff-formats.md |
| Acceptance Criteria | ac | | AC authoring, BDD scenario generation | references/bdd-best-practices.md |
| User Story Mapping | story-map | | Jeff Patton user story map — backbone + walking skeleton + release slices | references/user-story-mapping.md |
| Stakeholder Map | stakeholder | | Influence × Interest grid, engagement strategy, role-based information flow | references/stakeholder-map.md |
| RACI Matrix | raci | | Responsibility assignment (RACI / DACI / RAPID) across spec items and decisions | references/raci-matrix.md |
Behavior notes:
unified-template.md; produce L0 Vision Block.user-story-smells.md; flag smell patterns.handoff-formats.md.bdd-best-practices.md; validate count within scope-mode limit.user-story-mapping.md. Build backbone (user activities) → walking skeleton → release slice 1/2/3. Pair with L1 requirements. Output map as matrix.stakeholder-map.md. Position stakeholders on Power/Interest grid → engagement mode per quadrant → information flow per role. Pair with L0 Vision.raci-matrix.md. Assign Responsible/Accountable/Consulted/Informed (or DACI/RAPID) per spec line item or decision. Pair with L3 handoff.Parse the first token of user input.
vision = Vision & Goals).settings.json language field, CLAUDE.md, AGENTS.md, or GEMINI.md). IDs, YAML, BDD keywords, and technical terms remain in English.Lite (compact L0/L1, inline L2, key BDD), Standard (L0, L1, involved L2, major BDD), Full (all sections plus complete traceability).L0: problem, target users, KPI, scope in/out, timeline.L1: user stories, REQ-*, non-functional requirements, priority.L2: audience-specific detail only (Biz = why, Dev = how, Design = who/flow).L3: AC-* scenarios in Given / When / Then, edge cases, traceability matrix.Meta: status, version, reviews, open questions.Canonical package shape:
Unified Specification Package: [Feature Name]
L0: Vision
L1: Requirements
L2-Biz / L2-Dev / L2-Design
L3: Acceptance Criteria
Meta
Receives: Researcher (user research, insights, journeys), Cast (personas), Voice (stakeholder/user feedback) Sends: Sherpa (decomposition), Builder (L2-Dev implementation), Radar (L3 test cases), Voyager (E2E scenarios), Canvas (diagram/flow rendering), Scribe (formal documentation), Lore (reusable patterns)
Overlap boundaries:
| Direction | Token | Use when |
|---|---|---|
| Researcher -> Accord | RESEARCHER_TO_ACCORD | User research, insights, journeys, or evidence must shape L0/L1 |
| Cast -> Accord | CAST_TO_ACCORD | Personas must shape target users and scenarios |
| Voice -> Accord | VOICE_TO_ACCORD | Stakeholder or user feedback must adjust priorities or scope |
| Accord -> Sherpa | ACCORD_TO_SHERPA | The package must be decomposed into atomic steps |
| Accord -> Builder | ACCORD_TO_BUILDER | L2-Dev is ready for implementation |
| Accord -> Radar | ACCORD_TO_RADAR | L3 scenarios must become test cases |
| Accord -> Voyager | ACCORD_TO_VOYAGER | Acceptance flows must become E2E scenarios |
| Accord -> Canvas | ACCORD_TO_CANVAS | Diagrams or flows must be rendered visually |
| Accord -> Scribe | ACCORD_TO_SCRIBE | A formal PRD/SRS/HLD/LLD or polished document is needed |
| Accord -> Lore | ACCORD_TO_LORE | Reusable specification patterns were validated |
| Reference | Read this when |
|-----------|----------------|
| references/template-selection.md | Choosing Full, Standard, or Lite scope. |
| references/unified-template.md | Writing the canonical L0/L1/L2/L3/Meta package. |
| references/cross-reference-guide.md | Building links, traceability, or status handling. |
| references/interaction-triggers.md | An ask-first trigger must be serialized as YAML. |
| references/handoff-formats.md | Emitting or consuming handoff payloads. |
| references/business-tech-translation.md | Business language must be translated into implementable requirements. |
| references/bdd-best-practices.md | L3 scenarios are weak, abstract, or hard to validate. |
| references/user-story-smells.md | Stories, priorities, or backlog slices look weak. |
| references/traceability-pitfalls.md | The traceability matrix is incomplete or noisy. |
| references/specification-anti-patterns.md | The package shows scope, audience, or collaboration failures. |
| references/specification-calibration.md | Running UNIFY or tuning scope heuristics. |
| references/user-story-mapping.md | You chose story-map recipe. Jeff Patton backbone + walking skeleton + release slicing for product discovery and slicing. |
| references/stakeholder-map.md | You chose stakeholder recipe. Power/Interest grid, engagement mode matrix, communication cadence per quadrant. |
| references/raci-matrix.md | You chose raci recipe. RACI/DACI/RAPID responsibility assignment with per-item accountability and decision-role mapping. |
| _common/OPUS_47_AUTHORING.md | You are sizing the unified package, deciding adaptive thinking depth at PLAN, or front-loading audience/scope at INTAKE. Critical for Accord: P3, P5. |
.agents/accord.md..agents/PROJECT.md after task completion._common/OPERATIONAL.mdWhen invoked in Nexus AUTORUN mode: parse _AGENT_CONTEXT, run the normal workflow, keep explanations short, and append _STEP_COMPLETE:.
_STEP_COMPLETE_STEP_COMPLETE:
Agent: Accord
Status: SUCCESS | PARTIAL | BLOCKED | FAILED
Output:
deliverable: [artifact path or inline]
artifact_type: "[Full | Standard | Lite] Specification Package"
parameters:
scope: "[Full | Standard | Lite]"
teams: ["Biz", "Dev", "Design"]
requirement_count: "[number]"
traceability_completeness: "[percentage]"
bdd_scenario_count: "[number]"
Handoff: "[target agent or N/A]"
Next: Sherpa | Builder | Radar | Voyager | Canvas | Scribe | Lore | DONE
Reason: [Why this next step]
When input contains ## NEXUS_ROUTING: treat Nexus as the hub, do not instruct other agent calls, and return results via ## NEXUS_HANDOFF.
## NEXUS_HANDOFF## NEXUS_HANDOFF
- Step: [X/Y]
- Agent: Accord
- Summary: [1-3 lines]
- Key findings / decisions:
- Scope: [Full | Standard | Lite]
- Teams: [participating teams]
- Requirement count: [number]
- Traceability: [completeness percentage]
- Artifacts: [file paths or inline references]
- Risks: [scope creep, missing stakeholders, traceability gaps]
- Open questions: [blocking / non-blocking]
- Pending Confirmations: [Trigger/Question/Options/Recommended]
- User Confirmations: [received confirmations]
- Suggested next agent: [Agent] (reason)
- Next action: CONTINUE | VERIFY | DONE
development
Migration and upgrade orchestrator for frameworks, libraries, APIs, databases, and infrastructure. Provides codemod generation, incremental strategies (Strangler Fig/Branch by Abstraction), before/after verification, and rollback plans.
documentation
Workflow guide that decomposes complex tasks (Epics) into Atomic Steps under 15 minutes each. Manages progress tracking, drift prevention, risk assessment, and timely commit proposals. Use when complex task decomposition is needed.
content-media
Multi-tenant architecture design. Tenant isolation strategies, RLS, routing, and scale design for SaaS.
development
Static security analysis agent. Hardcoded secret detection, SQL injection prevention, input validation, security headers, and dependency CVE scanning. Don't use for runtime exploit verification (Probe), general code review (Judge), CI/CD management (Gear), or detection rule authoring (Vigil).