feature-spec
Create spec.md docs covering API design, data models, frontend architecture, and integration points. Triggers on 'write a spec', 'technical spec', 'feature…
от steveclarke★ 37 звёзд на GitHub
Установить feature-spec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Technical Specification
Overview
Structured command to help create concise technical specification documents by guiding through architectural decisions, system contracts, and technical design without getting bogged down in implementation details.
Create a technical specification document following the established feature development process. Comprehensive context available:
Required Reading:
- Feature development guide: @~/.local/share/dotfiles/ai/guides/feature-development-process.md
- Vision document: @vision.md
- Requirements document: @requirements.md
Note: If the project has a local copy of the guide at @project/guides/feature-development-process.md, you may reference that instead for project-specific modifications.
Additional Context Available:
- Full Codebase: Examine existing patterns in backend/ and frontend/ directories
- Implementation Guides: Review backend/docs/guides/ and frontend/docs/guides/ for established patterns
- Design Context: Use available MCP connections for design system access where relevant
Approach: Use all available context to inform your technical decisions. Most implementation patterns and architectural decisions should be derived from existing codebase analysis rather than asking basic questions.
IMPORTANT: Start by creating a TODO list to track phases of specification creation (typically 3 phases; add optional Phase 4 for design brief if feature has UI/UX complexity). Mark the first phase as "in_progress" and others as "pending".
Technical Specification Structure
CRITICAL: Specs define architecture and system contracts, NOT implementation details. Keep specs concise (5-10 pages) focused on WHAT and WHY, not HOW to code.
Specs Include:
- Architecture Overview: Core decisions and system structure
- System Components: What pieces exist and their roles/contracts
- Data Contracts: Type definitions (frontend/backend appropriate to your language), database schemas, API contracts
- Configuration Architecture: How the system is configured (not detailed examples)
- Integration Patterns: How it fits with existing systems
- Quality Attributes: Performance, reliability, maintainability requirements
Specs DO NOT Include:
- ❌ Implementation code examples (those go in plans)
- ❌ Step-by-step implementation details
- ❌ Repetitive explanations of the same concepts
Process: Work Through These 3 Phases Sequentially
Phase 1: Context Analysis & Scope Confirmation
First, analyze the available context to understand the feature scope:
Context Analysis:
- Review the vision and requirements documents to understand the feature scope
- Examine the codebase to identify existing patterns and architectural approaches
- Check implementation guides in backend/docs/guides/ and frontend/docs/guides/ for relevant patterns
- Identify similar existing features to follow established patterns
Scope Confirmation - Ask clarifying questions only as needed:
- Based on the requirements, this appears to be [full-stack/backend-only/frontend-only/background processing] - is this correct?
- Are there any specific implementation constraints or preferences not covered in the requirements?
- Is this a complete feature implementation or a specific phase (e.g., "Phase 1: Backend foundation")?
- Any existing systems integration requirements beyond what's documented?
Goal: Confirm technical scope and identify relevant existing patterns to follow.
ONE QUESTION AT A TIME - Wait for answers before proceeding.
Phase 2: Implementation Design Using Existing Patterns
Based on codebase analysis and scope confirmation, design implementation following established patterns:
Design Approach:
- Follow Existing Patterns: Use similar features in the codebase as templates
- Apply Established Conventions: Follow patterns found in implementation guides
- Leverage Existing Systems: Integrate with established RBAC, multi-tenancy, etc.
- Ask Specific Questions: Only ask about unique aspects not covered by existing patterns
For Backend/Database work:
- Model data following existing entity patterns and relationships
- Define service contracts using appropriate type definitions for your language
- Design API endpoints following established REST conventions and response formats
- Use type definitions to document API request/response contracts and data structures
- Apply standard authorization permissions and validation patterns
- Search Integration: Determine search scope and indexing strategy
- Does search need own entity fields only, or related entity data?
- Document search configuration approach
- Sort Parameters: Document sortable columns and default sort behavior
- List specific sortable columns
- Specify default sort order
- Multi-Context Considerations: For features spanning multiple application contexts (internal/external, admin/user, etc.)
- Create separate response st
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл feature-spec?
Create spec.md docs covering API design, data models, frontend architecture, and integration points. Triggers on 'write a spec', 'technical spec', 'feature spec', 'spec.md'.
Как установить скилл feature-spec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-spec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…