Design solution

From HoangNguyen0403/agent-skills-standard · View interactive version

Design solution is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Turn an approved PRD or implementation goal into SRS/FRS technical requirements (How), architecture, contracts, and verification decisions.

How to use this skill

Skill file

Design Solution Skill

[!IMPORTANT]

Turn an approved PRD or implementation goal into SRS/FRS technical requirements (How), architecture, contracts, and verification decisions.

Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

When the user asks to perform this workflow, execute the following steps:

Design Solution Workflow (SRS/FRS / How)

Goal: Produce a build-ready technical design with explicit boundaries, contracts, risks, and tests.

Steps

  1. Load inputs:
  1. Define architecture:
  1. Define contracts:
  1. Plan verification:
  1. Record ADR and route:

Runtime Contract

Handoff Payload

Blocking Questions

Output Template

# Technical Design (SRS/FRS): [Name]
## Decision Brief
- Changes since approved revision: [what changed]
- Recommendation: [technical decision]
- Impact if wrong: [consequence]
- Evidence and limitations: [confirmed(<source>); unverified]
- Unresolved decision: [decision] — owner: [owner] — affected slice: [slice]
- Approval sought: [exact approval and authority]
- Independently ready slices: [slices]
## Trace Source
- PRD or approved ticket + revision: [path/reference]
- Source IDs: [REQ-001], [AC-001]
## Architecture And Contract Delta
- Delta against existing baseline: [changed components/contracts]
- Ownership and boundaries: [module/data owners]
## Technical Requirements
### SRS-001: [Title]
- Statement: [behavior when condition]; priority: [Must/Should/Could]; status: [Draft/Approved/Tested]
- Source: [REQ-001], [AC-001]
- Behavior / failure: [trigger, input, validation, output; error or fallback behavior]
- NFR / security impact: [threshold or verifiable invariant]
- Verification: [lane] — [evidence artifact]
## Extensions
| Trigger | Required extension |
| --- | --- |
| API, event, or storage contract change | Interface and data contracts |
| Numeric performance/reliability commitment | NFR thresholds and measurement |
| Sensitive change | Security controls, human gate, failure analysis |
| Migration or compatibility impact | Migration and rollback plan |
## Blockers And References
- blocked(<slice>, <owner>, <required input>) — [references]
## Status And Receipt
- `feature_status`: [status]
- Run record: `artifacts/runs/[slug]/[run-id].json` (schema-valid is not an approval)
## Next Workflow
- [implementation-readiness | dev-fix]

Outcome Report

{schema_version: 1, run_id: "[run-id]", slug: "[slug]", workflow: design-solution, feature_status: design_ready, started_at: "[timestamp]", completed_at: "[timestamp]", requirement_trace: {brd_objectives: [], requirements: [], acceptance_criteria: [], srs: []}, completed_evidence: [], missing_evidence: [], decision_needed: [], recommended_next_workflow: implementation-readiness, cost: {source: unavailable}, agent: {identity: "[agent-identity]", model: "[model]"}}

Cost Report

Call get_session_cost(workflow="design-solution") before final handoff.

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.