You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Per-Spec Architecture**: Each feature can operate in different modes simultaneously
19
+
-**Auto-Detection System**: Commands automatically detect mode from spec.md metadata
20
+
-**Parameter-Based Configuration**: Modes and framework options set via `/specify` parameters during feature creation
21
+
-**Metadata Storage**: Mode and framework options stored in spec.md for traceability
22
+
-**Architecture Mode-Agnostic**: `/architect` command remains mode-agnostic (system-level architecture should not be constrained by feature-level modes)
23
+
- Added `detect_workflow_config()` / `Get-WorkflowConfig` functions to bash and PowerShell scripts
24
+
- Updated `setup-plan.sh` and `setup-plan.ps1` to auto-detect mode from spec.md
24
25
25
26
### Added
26
27
27
-
-**Optional Architecture Support**: Architecture documentation available in all modes
28
+
-**Per-Spec Mode Architecture**: Feature-level mode configuration with automatic detection
29
+
-**Mixed-Mode Workflows**: Different features can use different modes simultaneously in the same project
30
+
-**Optional Architecture Support**: Architecture documentation available in all modes
28
31
-`/speckit.architect` command implementing Rozanski & Woods "Software Systems Architecture" methodology
Specify supports two workflow modes that control the complexity level of the development process:
245
+
Specify implements a **per-spec mode architecture** where each feature can operate in different modes simultaneously, providing maximum flexibility for mixed-mode workflows. The mode is configured at the specification level and applies to all downstream commands.
246
246
247
247
#### Available Modes
248
248
249
249
-**`spec` mode (default)**: Full structured specification with comprehensive requirements, research, and validation
250
250
-**`build` mode**: Lightweight, conversational approach focused on quick validation and exploration
251
251
252
-
#### Mode Commands
252
+
#### Mode Configuration
253
+
254
+
Modes are configured per-feature when creating the specification:
253
255
254
256
```bash
255
-
# Show current mode and available options
256
-
/mode
257
+
# Create feature with specific mode
258
+
/speckit.specify --mode=build "Quick API fix"
259
+
/speckit.specify --mode=spec "Comprehensive user authentication"
260
+
261
+
# Override framework options per feature
262
+
/speckit.specify --mode=build --tdd "Critical feature with tests"
263
+
/speckit.specify --mode=spec --no-contracts "Feature without API contracts"
The mode is stored in the `spec.md` file metadata and automatically detected by downstream commands:
291
+
292
+
-**`/speckit.plan`**, **`/speckit.tasks`**, **`/speckit.implement`**, **`/speckit.clarify`**, **`/speckit.analyze`**, **`/speckit.checklist`**: Auto-detect mode and framework options from the current feature's spec.md
293
+
-**`/speckit.architect`**: Mode-agnostic (system-level architecture should not be constrained by feature-level modes)
294
+
268
295
#### When to Use Each Mode
269
296
270
297
**Use `build` mode for:**
271
298
272
-
-Prototyping and exploration
273
-
-Simple features with clear requirements
274
-
-Quick validation of ideas
275
-
-When you want to get something working fast
299
+
-Individual development and rapid prototyping
300
+
-Quick wins and simple features
301
+
-Senior engineers who prefer autonomy
302
+
-Situations requiring fast iteration
276
303
277
304
**Use `spec` mode for:**
278
305
279
-
-Complex features requiring thorough analysis
280
-
-Team collaboration with detailed documentation
281
-
-Production systems needing comprehensive validation
282
-
-When you need full traceability and quality gates
306
+
-Team collaboration and complex systems
307
+
-Production features requiring comprehensive validation
308
+
-Situations where thorough documentation is critical
309
+
-Projects with multiple stakeholders
283
310
284
-
#### Mode-Aware Commands
311
+
#### Mixed-Mode Workflows
285
312
286
-
All slash commands adapt their behavior based on the current mode:
313
+
The per-spec architecture enables advanced workflows:
Copy file name to clipboardExpand all lines: docs/quickstart.md
+95-42Lines changed: 95 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,44 +11,89 @@ This guide will help you get started with Spec-Driven Development using Agentic
11
11
**Note:** Run these steps in a standard terminal before opening the Intelligent IDE.
12
12
**Alignment with 12 Factors:** This stage establishes the foundation guided by [I. Strategic Mindset](https://tikalk.github.io/agentic-sdlc-12-factors/content/strategic-mindset.html) and [II. Context Scaffolding](https://tikalk.github.io/agentic-sdlc-12-factors/content/context-scaffolding.html), positioning the developer as orchestrator and assembling necessary context for AI collaboration.
13
13
14
-
### Choose Your Workflow Mode
14
+
### Per-Spec Workflow Mode Architecture
15
15
16
-
Specify supports two workflow modes that control development complexity, plus configurable framework opinions:
16
+
Specify implements a **per-spec mode architecture** where each feature can operate in different modes simultaneously, providing maximum flexibility for mixed-mode workflows.
17
17
18
-
-**`spec` mode (default)**: Full structured development with comprehensive requirements, research, validation, and blocking review gates for team coordination
19
-
-**`build` mode (GSD - Get Sh*t Done)**: High-velocity execution with atomic commits, non-blocking post-hoc review, and minimal documentation for rapid iteration
18
+
#### Available Modes
20
19
21
-
**Framework Opinions** (configurable within each mode):
20
+
-**`spec` mode (default)**: Full structured development with comprehensive requirements, research, and validation
21
+
-**`build` mode**: Lightweight, conversational approach focused on quick validation and exploration
22
22
23
-
-**TDD**: Test-Driven Development (tests before implementation)
24
-
-**API Contracts**: Automatic contract generation during planning
25
-
-**Data Models**: Automatic data model generation during planning
23
+
#### Mode Configuration
24
+
25
+
Modes are configured per-feature using parameters during specification:
26
26
27
27
```bash
28
-
# Check current mode and opinions
29
-
/mode
28
+
# Create feature with specific mode
29
+
/speckit.specify --mode=build "Quick API fix"
30
+
/speckit.specify --mode=spec "Comprehensive user authentication"
31
+
32
+
# Override framework options per feature
33
+
/speckit.specify --mode=build --tdd "Critical feature with tests"
34
+
/speckit.specify --mode=spec --no-contracts "Feature without API contracts"
# Each feature operates independently with its configured mode
93
+
/speckit.plan # Auto-detects mode from current feature's spec.md
94
+
/speckit.tasks # Respects framework options from spec.md
95
+
/speckit.implement # Adapts validation based on detected mode
96
+
```
52
97
53
98
1.**Project Initialization (`/init`)**
54
99
**Action:** From the project root, run the Agentic SDLC Spec Kit `init` command (e.g., `specify init <project> --team-ai-directives https://github.com/your-org/team-ai-directives.git`) to configure local settings and clone the shared `team-ai-directives` modules.
@@ -152,7 +197,7 @@ Specify supports two workflow modes that control development complexity, plus co
152
197
153
198
**In your terminal**, run the `specify` CLI command to initialize your project:
154
199
155
-
> **Note:** All slash commands adapt their behavior based on your current workflow mode. Use `/mode` to check or change modes.
200
+
> **Note:** All slash commands automatically detect the workflow mode from the current feature's spec.md metadata. No manual mode switching required.
156
201
157
202
```bash
158
203
# Create a new project directory
@@ -297,35 +342,43 @@ Finally, implement the solution:
297
342
- **Let the AI agent handle** the implementation details
298
343
- **Choose your complexity level** with workflow modes (build for speed, spec for thoroughness)
299
344
300
-
## Mode Transitions
345
+
## Creating Features in Different Modes
346
+
347
+
Your development needs may vary between different features:
301
348
302
-
Your development needs may change as features evolve:
349
+
### For Build Mode Features
303
350
304
-
### When to Switch from Build to Spec Mode
351
+
Create lightweight features focused on quick validation:
If your feature needs change after initial creation, create a new feature spec with the appropriate mode rather than trying to modify the existing feature's mode. This preserves the original intent and decisions in the original spec.md.
0 commit comments