Skip to content

Commit bb21eed

Browse files
committed
docs: Enhance quickstart guide with admonitions and examples
- Convert blockquotes to GFM admonitions for better visibility - Add current directory initialization example - Expand process to 6 steps with clarify, analyze, checklist, implement - Update example with separate clarify commands - Add proper links in Next Steps Fixes #906, #472 Generated-by: GitHub Copilot <[email protected]> Signed-off-by: Ashley Childress <[email protected]>
1 parent 41a9fc8 commit bb21eed

File tree

1 file changed

+76
-51
lines changed

1 file changed

+76
-51
lines changed

docs/quickstart.md

Lines changed: 76 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22

33
This guide will help you get started with Spec-Driven Development using Spec Kit.
44

5-
> NEW: All automation scripts now provide both Bash (`.sh`) and PowerShell (`.ps1`) variants. The `specify` CLI auto-selects based on OS unless you pass `--script sh|ps`.
5+
> [!NOTE]
6+
> All automation scripts now provide both Bash (`.sh`) and PowerShell (`.ps1`) variants. The `specify` CLI auto-selects based on OS unless you pass `--script sh|ps`.
67
7-
## The 5-Step Process
8+
## The 6-Step Process
89

9-
### 1. Install Specify
10+
> [!TIP]
11+
> **Context Awareness**: Spec Kit commands automatically detect the active feature based on your current Git branch (e.g., `001-feature-name`). To switch between different specifications, simply switch Git branches.
1012
11-
Initialize your project depending on the coding agent you're using:
13+
### Step 1: Install Specify
14+
15+
**In your terminal**, run the `specify` CLI command to initialize your project:
1216

1317
```bash
18+
# Create a new project directory
1419
uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME>
20+
21+
# OR initialize in the current directory
22+
uvx --from git+https://github.com/github/spec-kit.git specify init .
1523
```
1624

1725
Pick script type explicitly (optional):
@@ -21,33 +29,57 @@ uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME
2129
uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME> --script sh # Force POSIX shell
2230
```
2331

24-
### 2. Define Your Constitution
32+
### Step 2: Define Your Constitution
2533

26-
Use the `/speckit.constitution` command to establish the core rules and principles for your project. This ensures all future code and specifications adhere to your project's standards.
34+
**In your AI Agent's chat interface**, use the `/speckit.constitution` slash command to establish the core rules and principles for your project. You should provide your project's specific principles as arguments.
2735

28-
```bash
29-
/speckit.constitution
36+
```markdown
37+
/speckit.constitution This project follows a "Library-First" approach. All features must be implemented as standalone libraries first. We use TDD strictly. We prefer functional programming patterns.
3038
```
3139

32-
### 3. Create the Spec
40+
### Step 3: Create the Spec
3341

34-
Use the `/speckit.specify` command to describe what you want to build. Focus on the **what** and **why**, not the tech stack.
42+
**In the chat**, use the `/speckit.specify` slash command to describe what you want to build. Focus on the **what** and **why**, not the tech stack.
3543

36-
```bash
44+
```markdown
3745
/speckit.specify Build an application that can help me organize my photos in separate photo albums. Albums are grouped by date and can be re-organized by dragging and dropping on the main page. Albums are never in other nested albums. Within each album, photos are previewed in a tile-like interface.
3846
```
3947

40-
### 4. Create a Technical Implementation Plan
48+
### Step 4: Refine the Spec
4149

42-
Use the `/speckit.plan` command to provide your tech stack and architecture choices.
50+
**In the chat**, use the `/speckit.clarify` slash command to identify and resolve ambiguities in your specification. You can provide specific focus areas as arguments.
4351

4452
```bash
53+
/speckit.clarify Focus on security and performance requirements.
54+
```
55+
56+
### Step 5: Create a Technical Implementation Plan
57+
58+
**In the chat**, use the `/speckit.plan` slash command to provide your tech stack and architecture choices.
59+
60+
```markdown
4561
/speckit.plan The application uses Vite with minimal number of libraries. Use vanilla HTML, CSS, and JavaScript as much as possible. Images are not uploaded anywhere and metadata is stored in a local SQLite database.
4662
```
4763

48-
### 5. Break Down and Implement
64+
### Step 6: Break Down and Implement
4965

50-
Use `/speckit.tasks` to create an actionable task list, then ask your agent to implement the feature.
66+
**In the chat**, use the `/speckit.tasks` slash command to create an actionable task list.
67+
68+
```markdown
69+
/speckit.tasks
70+
```
71+
72+
Optionally, validate the plan with `/speckit.analyze`:
73+
74+
```markdown
75+
/speckit.analyze
76+
```
77+
78+
Then, use the `/speckit.implement` slash command to execute the plan.
79+
80+
```markdown
81+
/speckit.implement
82+
```
5183

5284
## Detailed Example: Building Taskify
5385

@@ -57,8 +89,8 @@ Here's a complete example of building a team productivity platform:
5789

5890
Initialize the project's constitution to set ground rules:
5991

60-
```bash
61-
/speckit.constitution
92+
```markdown
93+
/speckit.constitution Taskify is a "Security-First" application. All user inputs must be validated. We use a microservices architecture. Code must be fully documented.
6294
```
6395

6496
### Step 2: Define Requirements with `/speckit.specify`
@@ -70,58 +102,51 @@ let's call it "Create Taskify," let's have multiple users but the users will be
70102
I want five users in two different categories, one product manager and four engineers. Let's create three
71103
different sample projects. Let's have the standard Kanban columns for the status of each task, such as "To Do,"
72104
"In Progress," "In Review," and "Done." There will be no login for this application as this is just the very
73-
first testing thing to ensure that our basic features are set up. For each task in the UI for a task card,
74-
you should be able to change the current status of the task between the different columns in the Kanban work board.
75-
You should be able to leave an unlimited number of comments for a particular card. You should be able to, from that task
76-
card, assign one of the valid users. When you first launch Taskify, it's going to give you a list of the five users to pick
77-
from. There will be no password required. When you click on a user, you go into the main view, which displays the list of
78-
projects. When you click on a project, you open the Kanban board for that project. You're going to see the columns.
79-
You'll be able to drag and drop cards back and forth between different columns. You will see any cards that are
80-
assigned to you, the currently logged in user, in a different color from all the other ones, so you can quickly
81-
see yours. You can edit any comments that you make, but you can't edit comments that other people made. You can
82-
delete any comments that you made, but you can't delete comments anybody else made.
105+
first testing thing to ensure that our basic features are set up.
83106
```
84107

85108
### Step 3: Refine the Specification
86109

87-
After the initial specification is created, clarify any missing requirements:
110+
Use the `/speckit.clarify` command to interactively resolve any ambiguities in your specification. You can also provide specific details you want to ensure are included.
88111

89-
```text
90-
For each sample project or project that you create there should be a variable number of tasks between 5 and 15
91-
tasks for each one randomly distributed into different states of completion. Make sure that there's at least
92-
one task in each stage of completion.
112+
```bash
113+
/speckit.clarify I want to clarify the task card details. For each task in the UI for a task card, you should be able to change the current status of the task between the different columns in the Kanban work board. You should be able to leave an unlimited number of comments for a particular card. You should be able to, from that task card, assign one of the valid users.
93114
```
94115
95-
Also validate the specification checklist:
116+
You can continue to refine the spec with more details using `/speckit.clarify`:
96117
97-
```text
98-
Read the review and acceptance checklist, and check off each item in the checklist if the feature spec meets the criteria. Leave it empty if it does not.
118+
```bash
119+
/speckit.clarify When you first launch Taskify, it's going to give you a list of the five users to pick from. There will be no password required. When you click on a user, you go into the main view, which displays the list of projects. When you click on a project, you open the Kanban board for that project. You're going to see the columns. You'll be able to drag and drop cards back and forth between different columns. You will see any cards that are assigned to you, the currently logged in user, in a different color from all the other ones, so you can quickly see yours. You can edit any comments that you make, but you can't edit comments that other people made. You can delete any comments that you made, but you can't delete comments anybody else made.
120+
```
121+
122+
### Step 4: Validate the Spec
123+
124+
Validate the specification checklist using the `/speckit.checklist` command:
125+
126+
```bash
127+
/speckit.checklist
99128
```
100129
101-
### Step 4: Generate Technical Plan with `/speckit.plan`
130+
### Step 5: Generate Technical Plan with `/speckit.plan`
102131
103132
Be specific about your tech stack and technical requirements:
104133
105-
```text
106-
We are going to generate this using .NET Aspire, using Postgres as the database. The frontend should use
107-
Blazor server with drag-and-drop task boards, real-time updates. There should be a REST API created with a projects API,
108-
tasks API, and a notifications API.
134+
```bash
135+
/speckit.plan We are going to generate this using .NET Aspire, using Postgres as the database. The frontend should use Blazor server with drag-and-drop task boards, real-time updates. There should be a REST API created with a projects API, tasks API, and a notifications API.
109136
```
110137
111-
### Step 5: Validate and Implement
138+
### Step 6: Validate and Implement
112139
113-
Have your AI agent audit the implementation plan:
140+
Have your AI agent audit the implementation plan using `/speckit.analyze`:
114141
115-
```text
116-
Now I want you to go and audit the implementation plan and the implementation detail files.
117-
Read through it with an eye on determining whether or not there is a sequence of tasks that you need
118-
to be doing that are obvious from reading this. Because I don't know if there's enough here.
142+
```bash
143+
/speckit.analyze
119144
```
120145
121146
Finally, implement the solution:
122147
123-
```text
124-
implement specs/002-create-taskify/plan.md
148+
```bash
149+
/speckit.implement
125150
```
126151
127152
## Key Principles
@@ -134,6 +159,6 @@ implement specs/002-create-taskify/plan.md
134159
135160
## Next Steps
136161
137-
- Read the complete methodology for in-depth guidance
138-
- Check out more examples in the repository
139-
- Explore the source code on GitHub
162+
- Read the [complete methodology](../spec-driven.md) for in-depth guidance
163+
- Check out [more examples](../templates) in the repository
164+
- Explore the [source code on GitHub](https://github.com/github/spec-kit)

0 commit comments

Comments
 (0)