

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Rule: Generating Technical Specification Documents78<goal>9To guide an AI assistant in creating detailed Technical Specification (Tech Spec) documents that complement Product Requirements Documents (PRDs). The Tech Spec should provide senior-level architectural guidance, implementation details, and system design decisions suitable for implementation teams.10</goal>1112## Template Reference1314<template_reference>15**ALWAYS use the standardized Tech Spec template:** tasks/docs/_techspec-template.md16This template provides a comprehensive structure for technical specifications, ensuring consistency across all technical documentation in the project.17</template_reference>1819## Prerequisites2021<prerequisites>22- **Review Project Standards:** First examine `.cursor/rules/` to understand all established coding standards, patterns, and architectural guidelines23- **MANDATORY:** Review [architecture.mdc](mdc:.cursor/rules/architecture.mdc) for SOLID principles, Clean Architecture, and design patterns24- A completed PRD document must exist in `tasks/prd-[feature-slug]/_prd.md`25- Understanding of the project's domain structure: `engine/{agent,task,tool,workflow,runtime,infra,llm,mcp,project,schema,autoload,core}/` and `pkg/` for internal packages26- Familiarity with project standards: Go patterns, clean architecture, SOLID principles27- **Separation of Concerns:** Confirm that detailed technical design and implementation information is **absent** from the PRD and will be authored exclusively in this Tech Spec. If such details are found in the PRD, create a `PRD-cleanup.md` file in the feature folder listing the specific lines to remove or move, and notify the PRD owner.28</prerequisites>2930## Process3132<process_workflow>331. **Analyze PRD:** Review the existing PRD to understand requirements and scope, noting any misplaced technical details that should be migrated to the Tech Spec.342. **Pre-Analysis with Zen MCP:** Use Zen MCP with Gemini 2.5 and O3 to analyze the PRD and identify technical complexity areas, potential architecture patterns, and system design considerations353. **Ask Technical Questions:** Gather technical clarifications focusing on system design, performance, and architecture decisions364. **Generate Tech Spec:** Create focused technical specification appropriate for MVP/alpha phase375. **Post-Review with Zen MCP:** Use Zen MCP with Gemini 2.5 and O3 to review the generated tech spec for completeness, architectural soundness, and adherence to best practices386. **Save Tech Spec:** Save as `_techspec.md` in `tasks/prd-[feature-slug]/`39</process_workflow>4041## Technical Clarifying Questions4243<technical_questions_guidance>44Focus on essential implementation details for MVP:4546* **System Architecture:** "Which domain should this feature belong to? (agent/task/tool/workflow/runtime/infra/llm/mcp/project/schema/autoload/core or pkg/ for internal packages)"47* **Data Flow:** "What are the main data inputs/outputs and how do they flow through the system?"48* **External Dependencies:** "Does this require any external services or APIs?"49* **Key Implementation:** "What's the core logic that needs to be implemented?"50* **Testing Focus:** "What are the critical paths that must be tested?"51* **Impact Analysis:** "What existing modules or components might be affected by this change?"52* **Monitoring:** "What metrics or logs would be useful for monitoring this feature?"53* **Special Concerns:** "Are there any specific performance or security requirements for this feature?"5455Note: Keep questions focused on what's needed for implementation, not theoretical concerns.56</technical_questions_guidance>5758## Tech Spec Structure5960<spec_structure>61The generated Tech Spec MUST follow the template structure from @_techspec-template.md:62631. **Executive Summary:** Brief technical overview (1-2 paragraphs)642. **System Architecture:** Domain placement and component overview653. **Implementation Design:** Core interfaces, data models, and API endpoints664. **Integration Points:** External integrations (only if needed)675. **Impact Analysis:** Effects on existing components, APIs, and data models686. **Testing Approach:** Unit and integration testing strategy697. **Development Sequencing:** Build order and technical dependencies708. **Monitoring & Observability:** Metrics, logs, and dashboards719. **Technical Considerations:** Key decisions, risks, special requirements, and standards compliance7273Note: Keep the spec focused and practical. Only include sections relevant to the feature. The goal is a 2-4 page document that developers can quickly reference.74</spec_structure>7576## Content & Code Snippet Guidelines7778<content_guidelines>79**Primary Focus:** Provide architectural decisions, system design rationale, and interface-level detail. Avoid implementation-heavy content.8081**Code Snippets:**82- Include **only** concise, illustrative code snippets (≤ 20 lines).83- Focus on interfaces, method signatures, or small algorithm excerpts necessary to explain a concept.84- **NEVER** embed complete source files or large implementation blocks.85- Use `// ...` or `/* ... */` to indicate omitted sections when context is needed.8687**Document Size Guidelines:** Aim for **~1,500-2,500 words (2-4 pages)**. Focus on essential technical decisions and implementation guidance. This is an MVP/alpha phase project - avoid over-engineering the documentation.8889**Quality Checklist:**90- [ ] All technical design captured (moved from PRD if needed)91- [ ] Development sequencing and dependencies clearly defined92- [ ] Impact analysis identifies affected existing components93- [ ] Document is ≤ 2,500 words (focused and practical)94- [ ] No duplication of functional requirements from PRD95- [ ] Confirms adherence to all project standards in `.cursor/rules/`96- [ ] Includes monitoring approach using existing infrastructure97</content_guidelines>9899## Design Principles100101<design_principles type="mandatory">102**MANDATORY:** Follow architectural principles defined in [architecture.mdc](mdc:.cursor/rules/architecture.mdc):103- **SOLID Principles:** Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion104- **DRY Principle:** Don't Repeat Yourself - extract common functionality, centralize configuration105- **Clean Architecture:** Domain-driven design with proper layer separation and dependency flow106- **Clean Code:** Intention-revealing names, small functions, proper error handling107- **Project Patterns:** Service construction, context propagation, resource management108</design_principles>109110<target_audience>111Written for **senior developers and architects** who need:112- Clear implementation guidance113- Architectural decision rationale114- Integration and deployment strategies115- Performance and security considerations116</target_audience>117118<output_specification>119* **Format:** Markdown (`.md`)120* **Location:** `tasks/prd-[feature-slug]/`121* **Filename:** `_techspec.md`122* **Template:** Use @_techspec-template.md structure123</output_specification>124125## Final Instructions126127<final_instructions type="mandatory">1281. **Architecture Foundation:** Apply patterns from [architecture.mdc](mdc:.cursor/rules/architecture.mdc) and other project rules.1292. **Technical Focus:** Concentrate on *how* to implement, not *what*; do not repeat functional requirements from the PRD.1303. **Keep It Focused:** Stay within 2,500 words. Focus on practical implementation guidance while maintaining high quality standards.1314. **Standards Compliance:** Ensure alignment with all `.cursor/rules/` standards and project patterns.1325. **Implementation Ready:** Provide clear, actionable guidance for developers to start coding immediately.133</final_instructions>134
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| compozy/gograph.cursor/rules/architecture.mdc · 9 | Cursor rules | styletesting-strategydependenciesdo-not | 57/100 | 14 days ago | |
| compozy/gograph.cursor/rules/api-standards.mdc · 9 | Cursor rules | lint-formatapidocs | 54/100 | 14 days ago | |
| compozy/gograph.cursor/rules/backwards-compatibility.mdc · 9 | Cursor rules | do-notagent-behaviour | 32/100 | 14 days ago | |
| compozy/gograph.cursor/rules/compozy-agent-config.mdc · 9 | Cursor rules | agent-behaviour | 45/100 | 14 days ago | |
| compozy/gograph.cursor/rules/compozy-examples.mdc · 9 | Cursor rules | stylearchtypesagent-behaviour | 58/100 | 14 days ago | |
| compozy/gograph.cursor/rules/compozy-project-config.mdc · 9 | Cursor rules | setupstyle | 54/100 | 14 days ago | |
| compozy/gograph.cursor/rules/compozy-shared-patterns.mdc · 9 | Cursor rules | styleagent-behaviour | 54/100 | 14 days ago | |
| compozy/gograph.cursor/rules/compozy-task-patterns.mdc · 9 | Cursor rules | stylearchagent-behaviour | 70/100 | 14 days ago | |
| compozy/gograph.cursor/rules/core-libraries.mdc · 9 | Cursor rules | testing-strategydependenciesdo-not | 60/100 | 14 days ago | |
| compozy/gograph.cursor/rules/critical-validation.mdc · 9 | Cursor rules | no sections | 24/100 | 14 days ago | |
| compozy/gograph.cursor/rules/cursor_rules.mdc · 9 | Cursor rules | no sections | 40/100 | 14 days ago | |
| compozy/gograph.cursor/rules/go-coding-standards.mdc · 9 | Cursor rules | stylearchdependencies | 62/100 | 14 days ago | |
| compozy/gograph.cursor/rules/go-patterns.mdc · 9 | Cursor rules | style | 66/100 | 14 days ago | |
| compozy/gograph.cursor/rules/no_linebreaks.mdc · 9 | Cursor rules | no sections | 31/100 | 14 days ago | |
| compozy/gograph.cursor/rules/prd-create.mdc · 9 | Cursor rules | stylearchagent-behaviour | 48/100 | 14 days ago | |
| compozy/gograph.cursor/rules/quality-security.mdc · 9 | Cursor rules | securityperformancedo-not | 46/100 | 14 days ago | |
| compozy/gograph.cursor/rules/review-checklist.mdc · 9 | Cursor rules | testing-strategygit | 52/100 | 14 days ago | |
| compozy/gograph.cursor/rules/section_comments.mdc · 9 | Cursor rules | no sections | 31/100 | 14 days ago | |
| compozy/gograph.cursor/rules/task-developing.mdc · 9 | Cursor rules | agent-behaviour | 47/100 | 14 days ago | |
| compozy/gograph.cursor/rules/task-generate-list.mdc · 9 | Cursor rules | testlint-formatarchdo-not+1 | 85/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/compozy-gograph-cursor-rules-prd-tech-spec)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.