project-brainstorm
Load when a user has a vague idea, problem, or inspiration but isn't sure what to build. Use before /project-specify when the project concept needs crystallizing from loose thoughts into something concrete.
project-architecture
Load (required for Platform, optional for Build) to design the system architecture before project-plan. Produces architecture.md — run after project-context and before project-plan. Never run /project-plan before this on Platform projects. FIRST ACTION after loading: read template at .speck/templ...
Full skill instructions
User input:
$ARGUMENTS
The text the user typed after /project-architecture in the triggering message. Parse any architecture focus areas or constraints.
Before any other action — read this template now using the Read tool:
.speck/templates/project/architecture-template.md
The template defines required sections and formatting for architecture.md. Reading it first shapes what you extract from context.md and what the research phases need to evaluate.
Checkpoint: After reading, note the top-level sections from the template. Then continue to Play Level Check.
Read .speck/project.json (if it exists) for play_level.
/project-promote when you're ready for more structure."This command requires:
/project-context (constraints that architecture must work within)_active_recipe: metadata)Position in Flow: Runs AFTER context/constitution, BEFORE planning (architecture decisions inform planning!)
Research Approach: Uses just-in-time research pattern (.cursor/skills/just-in-time-research/SKILL.md) for technology evaluation and architecture patterns
This command benefits from parallel subagent execution:
Research Phase - Spawn parallel speck-researcher:
├── [Parallel] speck-researcher: "Best database for [requirements]"
├── [Parallel] speck-researcher: "Architecture patterns for [scale]"
├── [Parallel] speck-researcher: "Deployment patterns for [cloud]"
├── [Parallel] speck-researcher: "Security patterns for [domain]"
├── [Parallel] speck-researcher: "Integration patterns for [services]"
└── [Wait] → Synthesize findings into decisions
Decision Phase (for complex trade-offs) - Spawn speck-architect:
├── [Parallel] speck-architect: "Database architecture decision"
├── [Parallel] speck-architect: "Auth architecture decision"
├── [Parallel] speck-architect: "API design decision"
└── [Wait] → Consolidate into coherent architecture
Drafting Phase - Spawn parallel speck-scribe:
├── [Parallel] speck-scribe: "System Architecture" section
├── [Parallel] speck-scribe: "Technology Strategy" section
├── [Parallel] speck-scribe: "Security Architecture" section
├── [Parallel] speck-scribe: "Data Architecture" section
├── [Parallel] speck-scribe: "Integration Architecture" section
├── [Parallel] speck-scribe: "Deployment Architecture" section
└── [Wait] → Assemble into architecture.md
Speedup: 5-10x compared to sequential execution.
Load project context and detect mode:
Check for Active Recipe (greenfield only):
_active_recipe: in project.md metadata.speck/recipes/[recipe-name]/recipe.yamlstack: → Framework, language, database choicesarchitecture: → Pattern, API style, rendering approachpatterns: → Pre-configured implementation patternsexternal_services: → Recommended services (auth, payments, etc.)Determine Architecture Mode:
BROWNFIELD MODE (if project-landscape-overview.md exists):
GREENFIELD MODE (if no landscape overview):
IMPORTANT:
Just-In-Time Research (BOTH modes - before architectural decisions):
Reference: Follow the just-in-time research pattern (.cursor/skills/just-in-time-research/SKILL.md)
Before making architecture decisions (greenfield) or proposing evolution (brownfield), conduct research for:
1. Technology Stack Evaluation (greenfield or when considering new tech):
2. Architecture Patterns (both modes):
3. Performance Benchmarks (both modes):
4. Integration Patterns (both modes):
5. Migration Strategies (brownfield evolution):
For each area with knowledge gaps:
If deep research needed, PAUSE and instruct user:
⏸️ Deep Research Needed
Topic: [Research Area]
Prompt Generated: project-architecture-research-prompt-[topic].md
Please:
1. Review research prompt in project directory
2. Run in Perplexity/Claude/Gemini/Grok
3. Save results as: project-architecture-research-report-[topic].md
4. Re-run this command to continue
BROWNFIELD MODE - Extract from Landscape Overview:
If project-landscape-overview.md exists, use it to document existing architecture:
Extract from Landscape Overview:
Document Current State:
Identify Evolution Needs:
Then proceed to step 4 to generate architecture document
GREENFIELD MODE - Interactive architecture decisions:
Core Architecture Questions:
Technology Stack Questions:
Align with Context:
Generate architecture document:
.speck/templates/project/architecture-template.mdFor BROWNFIELD:
For GREENFIELD:
Architecture components to address:
Cross-reference with epics:
Risk and trade-off analysis:
Save architecture.md with:
Output summary (mode-specific):
For BROWNFIELD:
✅ Project Architecture Documented!
Mode: BROWNFIELD (extracted from codebase scan)
Architecture Pattern: [Pattern from scan]
Primary Stack: [Technologies from scan]
Current State:
- [Components documented]
- [Patterns identified]
- [Integration points mapped]
Technical Debt:
- [Issue 1 from scan]
- [Issue 2 from scan]
Evolution Path:
- [Refactoring priority 1]
- [Refactoring priority 2]
Next Steps:
- Review architecture document
- Validate against current implementation
- Plan refactoring epics if needed
- Continue with epic development and implementation
For GREENFIELD:
✅ Project Architecture Designed!
Mode: GREENFIELD (designed from requirements)
Architecture Pattern: [Pattern chosen]
Primary Stack: [Technologies chosen]
Key Decisions:
- [Decision 1 with rationale]
- [Decision 2 with rationale]
- [Decision 3 with rationale]
Risk Factors:
- [Risk 1 with mitigation]
- [Risk 2 with mitigation]
Next Steps:
- Recommended: /project-roadmap (epic timeline and resource allocation)
- Then: /project-plan (to synthesize PRD + epics)
- Begin epic development (for each epic: /epic-specify → /epic-plan)
- Note: Do NOT run /project-validate yet. Under Speck v7, /project-validate is strictly the final post-implementation release gate run only after ALL epics are validated.
Ensure the architecture:
This command fits in Phase 3 (Technical Design) BEFORE planning:
Phase 2: Foundation
/project-ux → /project-context → /project-constitution
Phase 3: Technical Design (BEFORE planning!)
/project-architecture → /project-design-system
Phase 4: Planning
/project-plan (creates PRD using foundation + architecture inputs)
Phase 5: Implementation (Epic & Story development)
per epic: /epic-specify → /epic-plan → stories...
Phase 6: Final Release Validation (POST-IMPLEMENTATION)
/project-validate (runs end-to-end JTBD smoke test after ALL epics are completed)
The architecture informs:
1. Run /project-scan → Generates project-landscape-overview.md
2. Run /project-architecture:
- Detects scan exists → BROWNFIELD MODE
- Extracts: "Modular monolithic, FastAPI + React, 14 models"
- Documents: Current component boundaries, WebSocket handlers
- Identifies: Claude AI placeholder, Capacitor missing
- Proposes: Migration to Capacitor, Claude integration
3. Output: architecture.md with as-is + to-be sections
1. Run /project-context (and optionally /project-constitution) → No existing code
2. Run /project-architecture:
- No scan found → GREENFIELD MODE
- Asks: Architecture pattern, deployment targets, tech stack
- Designs: Component structure, integration approach
- Documents: Technology choices with rationale
3. Run /project-plan:
- Uses architecture.md + context.md as inputs
- Produces PRD.md + epics.md + epics/
4. Output: architecture.md with design from scratch
/project-scan first to extract existing architecture/project-architecture later (or updating architecture.md) as the project evolvesLoad when a user has a vague idea, problem, or inspiration but isn't sure what to build. Use before /project-specify when the project concept needs crystallizing from loose thoughts into something concrete.
Load when using Docker for containerizing applications. Applies when creating Dockerfiles, docker-compose setups, multi-stage builds, or optimizing container images.
Enforce visual design quality in every UI file. Fires for .tsx, .jsx, .vue, .svelte, and similar component files. Ensures implementations express the project's design personality rather than producing generic/boilerplate UI.
Load after project.md exists to fill gaps through targeted Q&A. Use when project goals, target users, or scope feel underspecified. Run before project-context or project-architecture to prevent rework downstream.
DEPRECATED in Speck v7. Use /speck-skeptical-review + /speck-decision-log instead — they replace outline-style research mapping with structured alternative enumeration and decision locking. /story-plan now performs just-in-time research inline. This skill remains for v6 compatibility but redirect...
Load when building offline-first applications that work without network connectivity. Applies when implementing local storage, sync queues, conflict resolution, or background sync.
Load (Platform play level only) to define technical principles and architectural guardrails for the project. Produces constitution.md — optional but valuable when a team needs explicit coding standards, governance rules, or non-negotiable constraints. FIRST ACTION after loading: read template at ...
Load when integrating PostHog for product analytics and feature flags. Applies when implementing event tracking, A/B testing, session replay, or funnel analysis.
Load when all epics are validated and /audit has run for the project. Verifies the project meets its original vision and product-contract.md paid promise. Runs end-to-end JTBD smoke test via /larp across all personas. Declares a project-level readiness state. Produces project-validation-report.md...
Load for brownfield stories where existing code must be understood before planning. Use when a story extends, modifies, or integrates with significant existing functionality. Produces codebase-scan.md — skip for fully greenfield stories. FIRST ACTION after loading: read template at .speck/templat...
Load when building serverless applications with AWS Lambda, Vercel Functions, or Cloudflare Workers. Applies when implementing FaaS patterns, managing cold starts, or optimizing serverless costs.
Load after epic-tech-spec.md and epic-breakdown.md exist — quality check for consistency and completeness before any story work begins. Catches spec drift and missing coverage between the tech spec and story breakdown. FIRST ACTION after loading: read template at .speck/templates/epic/epic-analys...
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience