From jx-dev
Transform a PRD or BRD_PRD into a framework-agnostic TECH_SPEC.md with Mermaid diagrams, JSON Schema data models, OpenAPI contracts, and Architecture Decision Records. Triggers on: create tech spec, generate technical spec, technical design, architecture doc. Do not trigger for: PRD generation, task breakdown, Azure sync, wiki operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/jx-dev:spec [--docs-root <path>][--docs-root <path>]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Transform a PRD into a complete, machine-readable technical specification focused on stable contracts and architectural decisions. Framework-agnostic — uses Mermaid, JSON Schema, OpenAPI, and ADR format.
Transform a PRD into a complete, machine-readable technical specification focused on stable contracts and architectural decisions. Framework-agnostic — uses Mermaid, JSON Schema, OpenAPI, and ADR format.
| Argument | Required | Default | Notes |
|---|---|---|---|
--docs-root | No | docs/ or $JX_DOCS_ROOT | Output directory root |
Apply rules from ../../../jx-core/_shared/id-rules.md and ../../../jx-core/_shared/docs-root.md:
Check for existing PRD in folder:
PRD.md or BRD_PRD.md\w+-(\d{3})-\d+Read the PRD and analyze for:
Vague Adjectives: "Fast", "Modern", "Scalable", "User-friendly" without metrics Missing Constraints: Error handling, offline behavior, latency budgets, data retention Logic Gaps: Incomplete flows, missing validation, undefined edge cases Undefined Contracts: Vague API responses, unclear data structures Security Blindspots: Missing auth, authorization, data protection requirements
Report findings to user before proceeding.
Ask 3-7 high-value architectural questions. Focus on decisions that shape implementation:
Rules:
Generate using references/template.md structure. Use diagram patterns from references/diagram-patterns.md.
TECH_SPEC creates only two ID types:
TC-{feature_number}-{seq} — Technical ConstraintsTEST-{feature_number}-{seq} — Test CasesReference PRD IDs (US, AC, FR, NFR) without modification. NEVER create new US/AC/FR IDs.
Organized by user story. For each:
For each major decision:
### ADR-{seq}: [Decision Title]
**Status:** [Proposed | Accepted | Deprecated]
**Context:** [What forces are at play]
**Decision:** [What we decided]
**Consequences:** [What becomes easier/harder]
**Alternatives Considered:** [What else was evaluated and why rejected]
### TC-{feature_number}-{seq}: [Title]
[Description]
**Rationale:** [Why this constraint exists]
**Impact:** [How it affects design]
**Mitigation:** [How to work within it]
### TEST-{feature_number}-{seq}: [Title]
**Related Requirements:** [US-{NNN}-{seq}, AC-{NNN}-{seq}]
**Test Type:** [Unit | Integration | E2E | Performance]
**Test Steps:**
1. [Step]
2. [Step]
**Expected Result:** [Outcome]
{docs_root}/{folder_name}/TECH_SPEC.mdnpx claudepluginhub jairosoft-com/jodex-plugins --plugin jx-devProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.