spec-writing
Execute this skill should be used when the user asks about "writing specs", "specs.md format", "how to write specifications", "sprint requirements", "testing configuration", "scope definition", or needs guidance on creating effective sprint specifications for agentic development. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
Install
mkdir -p .claude/skills/spec-writing && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5492" && unzip -o skill.zip -d .claude/skills/spec-writing && rm skill.zipInstalls to .claude/skills/spec-writing
About this skill
Spec Writing
Overview
Spec Writing provides guidance on authoring effective specs.md files that drive the Sprint plugin's autonomous development workflow. A well-written specification determines the quality of agent output by clearly defining goals, scope boundaries, and testing requirements.
Prerequisites
- Sprint plugin installed (
/plugin install sprint) - Project onboarding completed via
/sprint:setup(createsproject-goals.mdandproject-map.md) - Sprint directory created via
/sprint:new(generates.claude/sprint/[N]/specs.md) - Understanding of the sprint phase lifecycle (see the
sprint-workflowskill)
Instructions
- Open the generated
specs.mdfile at.claude/sprint/[N]/specs.mdand define a concise goal statement at the top. State what the sprint delivers in one sentence (e.g., "Add user authentication with email/password login"). - Define explicit scope boundaries using In Scope and Out of Scope sections. List specific features, endpoints, or components in each. Agents only implement what appears in scope; ambiguity leads to drift.
- Add the Testing section to control which testing agents run and how. Configure three settings as documented in
${CLAUDE_SKILL_DIR}/references/testing-configuration.md:QA:required|optional|skip-- Controls API and unit test executionUI Testing:required|optional|skip-- Controls browser-based E2E testsUI Testing Mode:automated|manual-- Auto-run or user-driven testing
- Set QA to
requiredfor new API endpoints, business logic changes, and data validation rules. Set QA toskipfor frontend-only changes, documentation updates, or configuration changes. - Set UI Testing to
requiredfor user-facing features, form submissions, and navigation flows. Chooseautomatedmode for regression testing and standard CRUD flows; choosemanualmode for complex interactions, visual verification, or exploratory testing. - Keep specifications minimal but precise. The architect expands high-level specs into detailed implementation files (
backend-specs.md,frontend-specs.md,api-contract.md). Over-specifying implementation details inspecs.mdconstrains the architect unnecessarily. - For iterative sprints, review
status.mdfrom the previous iteration. Remove completed items from specs and add any new requirements or bug fixes discovered during testing.
Output
- A complete
specs.mdfile with goal, scope (in/out), and testing configuration - Clear scope boundaries that prevent agent drift during implementation
- Testing configuration that selects appropriate QA and UI testing agents
- Iteratively refined specs where completed work is removed and remaining work is focused
Error Handling
| Error | Cause | Solution |
|---|---|---|
| Agents implement unintended features | Missing "Out of Scope" section | Explicitly list features excluded from this sprint |
| Tests not running during sprint | Testing section omitted or set to skip | Add QA: required and UI Testing: required to the Testing section |
| Sprint iterates without converging | Specs too broad for a single sprint | Break into smaller sprints targeting one domain boundary each |
| Architect produces conflicting spec files | Ambiguous or contradictory requirements in specs.md | Review for conflicting statements; each requirement should have a single interpretation |
| Manual tests not triggered | UI Testing Mode set to automated | Change to manual for scenarios requiring visual verification or exploratory testing |
Examples
Minimal but effective spec:
# Sprint 1: User Authentication
## Goal
Add user authentication with email/password login
## Scope
### In Scope
- Registration endpoint (POST /auth/register)
- Login endpoint (POST /auth/login)
- JWT token generation and validation
- Password hashing with bcrypt
### Out of Scope
- OAuth providers (Google, GitHub)
- Password reset flow
- Email verification
## Testing
- QA: required
- UI Testing: required
- UI Testing Mode: automated
Frontend-only sprint (no QA needed):
# Sprint 3: Dashboard Redesign
## Goal
Redesign the admin dashboard with responsive layout
## Scope
### In Scope
- Responsive grid layout for dashboard widgets
- Dark mode toggle
- Mobile navigation drawer
### Out of Scope
- New API endpoints
- Database changes
- Authentication changes
## Testing
- QA: skip
- UI Testing: required
- UI Testing Mode: manual
Resources
${CLAUDE_SKILL_DIR}/references/testing-configuration.md-- Testing section options with guidance on when to use each setting- Sprint workflow skill for understanding how specs feed into the phase lifecycle
- API contract skill for designing endpoint contracts referenced by specs
More by jeremylongshore
View all skills by jeremylongshore →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversFused MCP Agents — Python-based MCP server to run Python from Claude, enabling Claude Python integration and LLM Python
Connect Blender to Claude AI for seamless 3D modeling. Use AI 3D model generator tools for faster, intuitive, interactiv
Unlock seamless Figma to code: streamline Figma to HTML with Framelink MCP Server for fast, accurate design-to-code work
Terminal control, file system search, and diff-based file editing for Claude and other AI assistants. Execute shell comm
Official Laravel-focused MCP server for augmenting AI-powered local development. Provides deep context about your Larave
Safely connect cloud Grafana to AI agents with MCP: query, inspect, and manage Grafana resources using simple, focused o
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.