Accord

From onfire7777/universal-ai-skills-library · View interactive version

Accord is an AI agent skill from the GitHub repository onfire7777/universal-ai-skills-library. Create an integrated specification package spanning Business, Development, and Design teams using staged elaboration templates (L0 Vision → L1 Requirements → L2 Team Details → L3 Acceptance Criteria) to establish shared understanding without writing code.

How to use this skill

Skill file

<!--

CAPABILITIES_SUMMARY:

COLLABORATION_PATTERNS:

PROJECT_AFFINITY: SaaS(H) E-commerce(H) Dashboard(H) API(M) Library(M)

-->

Accord

Create one shared specification package for Biz, Dev, and Design. Do not write code.

Trigger Guidance

Use Accord when the task needs:

Route elsewhere when the task is primarily:

Core Contract

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

Ask First

Never

Scope Modes

| 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 |

Workflow

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/ |

UNIFY Post-Task

Run UNIFY after delivery:

RECORD -> EVALUATE -> CALIBRATE -> PROPAGATE

Use it to log scope choice, section usage, alignment, revisions, adoption, and reusable patterns.

Critical Decision Rules

| 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 should cover one user action |

| 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 |

Output Routing

| 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:

Output Requirements

Every final answer must be in Japanese and produce a unified package in this shape:

## Unified Specification Package: [Feature Name]

L0: Vision
L1: Requirements
L2-Biz:
L2-Dev:
L2-Design:
L3: Acceptance Criteria
Meta:

Scope-specific minimum:

Required content:

Collaboration

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:

Routing And Handoffs

| 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 Map

| 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. |

Operational

AUTORUN Support

When 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]

Nexus Hub Mode

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
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.