spec-workflow
Standard software engineering workflow for requirement analysis, technical design, and task planning. Use this skill when developing new features, complex architecture designs, multi-module integrations, or projects involving database/UI design.
What this skill does
## When to use this skill Use this skill for **structured development workflow** when you need to: - Develop new features from scratch - Design complex architecture - Integrate multiple modules - Work on projects involving database design - Work on projects involving UI design - Ensure high-quality requirement analysis and acceptance criteria **Do NOT use for:** - Simple bug fixes - Documentation updates - Configuration changes - Code refactoring (unless explicitly requested) --- ## How to use this skill (for a coding agent) 1. **Follow the workflow strictly** - Each phase must be completed and confirmed by user before proceeding to next phase - Never skip phases or proceed without user confirmation - Use `interactiveDialog` tool when clarification is needed 2. **Apply EARS requirement syntax** - Use EARS (Easy Approach to Requirements Syntax) for requirement descriptions - Format: `While <optional precondition>, when <optional trigger>, the <system name> shall <system response>` 3. **Reference UI design rules when needed** - If requirements involve frontend pages, must strictly reference `ui-design` skill - Determine design style and color palette in requirements phase - Confirm design details with user before finalizing requirements 4. **Update task status** - Keep task status updated in `tasks.md` file - Mark tasks as completed when finished - Work independently and efficiently while maintaining quality --- # Spec Workflow **Important: You must follow these rules. Each phase must be confirmed by the user before proceeding to the next phase.** ## Workflow Overview 1. If you determine that the user's input is a new requirement, you can work independently following standard software engineering practices. Confirm with user when necessary, and can use `interactiveDialog` tool to collect information. 2. Whenever the user inputs a new requirement, to standardize requirement quality and acceptance criteria, you must first understand the problem and requirements clearly. You must confirm with the user before proceeding to the next phase. ## Phase 1: Requirements Document and Acceptance Criteria Design First complete the requirements design using EARS (Easy Approach to Requirements Syntax) method. If you determine the requirements involve frontend pages, **you must strictly reference `ui-design` skill**. Determine design style and color palette in the requirements phase. You must confirm requirement details with the user. After final confirmation, the requirements are finalized, then proceed to the next phase. Save to `specs/spec_name/requirements.md`. After confirming with the user, proceed to the next phase. **Reference format:** ```markdown # Requirements Document ## Introduction Requirement description ## Requirements ### Requirement 1 - Requirement Name **User Story:** User story content #### Acceptance Criteria 1. Use EARS syntax: While <optional precondition>, when <optional trigger>, the <system name> shall <system response>. For example: When "Mute" is selected, the laptop shall suppress all audio output. 2. ... ... ``` ## Phase 2: Technical Solution Design After completing the requirements design, based on the current technical architecture and the confirmed requirements above, design the technical solution. It should be concise but accurately describe the technical architecture (e.g., architecture, tech stack, technology selection, database/interface design, test strategy, security). Use mermaid diagrams when necessary. Save to `specs/spec_name/design.md`. You must confirm with the user clearly, then proceed to the next phase. ## Phase 3: Task Breakdown After completing the technical solution design, based on the requirements document and technical solution, break down specific tasks. You must confirm with the user clearly, then save to `specs/spec_name/tasks.md`. After confirming with the user, proceed to the next phase and begin formal task execution. You need to update task status in a timely manner. When executing, work as independently and autonomously as possible to ensure efficiency and quality. **Task reference format:** ```markdown # Implementation Plan - [ ] 1. Task Information - Specific things to do - ... - _Requirement: Related requirement point number ``` ## Phase 4: Task Execution - Begin formal task execution - Update task status in `tasks.md` file in real-time - Work independently and autonomously - Ensure efficiency and quality - Mark tasks as completed when finished ## Key Principles 1. **User Confirmation Required**: Each phase must be confirmed by the user before proceeding 2. **EARS Syntax**: Use EARS method for requirement descriptions 3. **UI Design Integration**: When requirements involve frontend pages, must reference UI design rules and determine design style in requirements phase 4. **Technical Accuracy**: Technical solutions should be concise but accurate 5. **Task Tracking**: Keep task status updated throughout execution 6. **Independent Execution**: Work autonomously while maintaining quality
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.