dfg-inc/praxis-architect/design-package
Claude Code and agent skill by dfg-inc/praxis-architect
- community
Checking that the SKILL.md file is still in the repository.
Assemble the design package for a work package — text diagrams, linked decisions, contracts, and NFR budgets — ready for decompose and developer handoff (WBS 4.11).
Install
npx vskill@latest install dfg-inc/praxis-architect/design-packageSKILL.md
Design Package
Single package Developer (and decompose-features) can implement against: structure, flows, decisions, contracts, budgets. Diagrams are text (Mermaid/ASCII) — no binary drawing tools required (WBS 4.11.1).
When to use
- After the WP’s binding ADRs are
accepted(viarecord-decision). - After relevant
platform-contractandnfr-budgetartifacts exist (or explicitly N/A). - Before
decompose-features/initial-estimate/context-slice.
Do not start a design package while intake-audit is fail.
Inputs
| Input | Path / source | |
|---|---|---|
| WP id | From ba.architect.handoff.workPackageId | |
| Decisions | architecture/decisions/ADR-*.md for this WP | |
| Contracts | Platform contract files from platform-contract skill | |
| NFR budgets | From nfr-budget skill / template | |
| Context map | Prior context-map artifact | |
| Alternatives trail | Optional, for non-goals / rejected paths |
Target layout
Project may relocate under .project design.root; default is design/<workPackageId>/.
Steps
- Preflight
- Intake audit verdict
passor acknowledgedpass-with-warnings. - Machine
ba.architect.handoffpresent (from BAwp approve-plan). - Every divergence point that required a decision has an
acceptedADR (or an explicit deferred open question with human ok). - List ADR ids that bind this WP.
- Create folder
design/<workPackageId>/ and diagrams/.
- Write `index.md`
Required sections:
- Purpose / user-visible outcome (product language, not code dump).
- In-scope / out-of-scope.
- Systems/platforms touched (from context map).
- Pointers to
decisions.md,contracts.md,nfr-budgets.md,diagrams/. - Build order hint (optional until
initial-estimate).
- Text diagrams (
diagrams/*.md)
At least:
- Context / container (C4-ish) for touched platforms.
- One key sequence or data-flow for the critical path.
Use fenced mermaid or ASCII. No PNG/SVG required. Each file starts with a one-line legend.
- `decisions.md`
Table: ADR id | title | path | rule (one-liner). Link only accepted ADRs that apply. Orphans with no link → fix before handoff.
- `contracts.md`
For each inter-platform exchange: path to contract, format, compatibility policy summary. If none: section None — single module with justification.
- `nfr-budgets.md`
Metric | limit | measure how | measure when | budget file path. Missing measure/when → incomplete package.
- `open-questions.md`
Prefer empty. Any remaining open must be severity-tagged; high severity blocks handoff readiness.
- Write `change-intent.json` (machine, required)
Product-agnostic patch + feature intent consumed by emit-developer-handoff. Derive from BA scope + accepted decisions — never hardcode a sample product. Include at minimum:
``json { "decisionIds": ["ADR-…"], "requirementIds": ["…from ba handoff…"], "requiredMachineFiles": ["src/…", "package.json", "test/….test.js"], "features": [{ "id": "FEAT-…", "title": "…", "readyForDev": true }], "changes": [ { "file": "path/existing.js", "op": "edit", "description": "…", "match": "…", "replace": "…" }, { "file": "path/new.test.js", "op": "create", "description": "…", "content": "…" } ], "acceptanceChecks": [ { "file": "…", "contains": "…" }, { "type": "npm-test" } ], "verificationPolicy": { "requireTests": true }, "design": { "title": "…", "decision": "…", "machineRequirements": ["src/…", "package.json", "test/…"], "contextInScope": ["…"], "outOfScope": ["…"], "changeIntent": "one-liner" } } ``
op: "edit"(default): deterministicmatch→replaceon an existing file.op: "create": full filecontent(legacywritestill accepted). Idempotent if content already matches; fails on conflicting existing content.- Every path in
requiredMachineFiles/## Machine requirements/design.machineRequirementsmust appear inchanges[].fileoremit-developer-handoffrefusesreadyForDev. - Do not leave required implementation only in Markdown.
- Self-check
- Every diagram renders as text in a markdown viewer.
- Every ADR id resolves on disk.
- Non-goals explicit in
index.md. change-intent.jsonparses and listsreadyForDev: truefeatures.
- Handoff path
Record designPackagePath: "design/<workPackageId>/" for later architect.developer.handoff (filled fully in context-slice / emit).
Human gates
| Situation | Gate | |
|---|---|---|
| High residual risk / non-empty high opens | AskUserQuestion: sign off package readiness? | |
| Diagram vs ADR conflict | Stop; reconcile before decompose | |
| Low risk, opens empty | Proceed; still show package path for skim |
Done when
- Folder
design/<workPackageId>/contains index, decisions, contracts, budgets, ≥1 text diagram, andchange-intent.json. - Diagrams are text-only and self-contained.
- Binding ADR/contract/budget links resolve.
- Package is usable input to
decompose-featureswithout inventing architecture.
Failure modes
| Mode | Response | |
|---|---|---|
| Binary-only diagrams | Replace with Mermaid/ASCII | |
| Package without linked decisions | Incomplete — add decisions.md | |
Missing change-intent.json | Incomplete — write machine intent before context-slice emit | |
| Open high-severity questions left silent | Block handoff; human gate | |
| Inventing new ADRs inside design package | Stop; run record-decision first | |
| Skipping intake-fail packages | Forbidden |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/architect/skills/design-package/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dfg-inc/praxis-architect/design-package)