Design

From the-agency-ai/the-agency · View interactive version

Design is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Drive toward a complete Architecture & Design (A&D) using 1B1 protocol with completeness checklist.

How to use this skill

Skill file

<!--

Flag #62/#63: allowed-tools removed. Inherits Bash(*) from

.claude/settings.json. Restricting to specific subcommand patterns at the

skill level silently blocks agents on permission prompts the agent cannot

see — see dispatch #171 for the devex incident that surfaced this trap.

-->

Design — A&D Completeness

Drive toward complete Architecture & Design (A&D) using the 1B1 protocol with a completeness checklist. Typically follows /define — the PVR informs architecture.

Usage

Behavior

Step 1: Establish context

If --from specified, read the PVR. If --continue, read the existing A&D. If a PVR exists for this project, load it automatically.

Step 2: Scan for existing work

Glob agency/workstreams/*/ad-*.md for existing A&D files. If found, offer to continue.

Step 3: Build discussion agenda

Map the completeness checklist to discussion items. Skip items already covered.

Step 4: Start discussion

Invoke /discuss via the Skill tool, passing the agenda items.

Step 5: Update A&D progressively

After each item resolves, update the A&D file. Also update the PVR if design decisions reveal requirement changes.

A&D location: agency/workstreams/{workstream}/ad-{workstream}-{slug}-{YYYYMMDD}.md.

Step 6: Present completeness scorecard

A&D Completeness:

1. Architecture Overview    ✓ Complete
2. Data Model               ✓ Complete
3. Interfaces               ✓ Complete
4. Dependencies             ✓ Complete
5. Technology Choices       ✓ Complete
6. Trade-offs               ✓ Complete
7. Failure Modes            ~ Partial
8. Security Considerations  ✓ Complete
9. Deployment & Operations  ✓ Complete
10. Open Technical Questions 1 remaining

Score: 9/10 complete

Completeness Checklist

  1. Architecture Overview — High-level system design, component relationships
  2. Data Model — Entities, relationships, storage strategy
  3. Interfaces — APIs, protocols, contracts between components
  4. Dependencies — External services, libraries, infrastructure
  5. Technology Choices — Languages, frameworks, databases, and why
  6. Trade-offs — What was considered and rejected, with reasoning
  7. Failure Modes — What can go wrong? How does the system degrade?
  8. Security Considerations — Auth, data protection, attack surface
  9. Deployment & Operations — How it runs, scales, is monitored
  10. Open Technical Questions — Unresolved technical items
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.