Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ the site homepage. Process command references and authentication remain under
- `how-to/local-development.md` - Developing and checking Spec Kit locally
- `installation.md` - Installation guide
- `quickstart.md` - Spec-Driven Development walkthrough
- `cheat-sheet.md` - Printable Spec Kit quick reference
- `guides/agentic-sdlc.md` - How Spec Kit applies agentic and conventional SDLC practices to itself
- `guides/bugfix.md` - Bug-fixing walkthrough
- `guides/assessment.md` - Idea assessment walkthrough
Expand Down
136 changes: 136 additions & 0 deletions docs/assets/cheat-sheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
.cheat-sheet-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.5rem;
}

.cheat-sheet-column {
min-width: 0;
}

.cheat-sheet-column h2 {
font-size: 1.2rem;
margin-top: 1rem;
}

.cheat-sheet-column table {
width: 100%;
}

.cheat-sheet-column td:first-child {
white-space: nowrap;
}

.cheat-sheet code {
overflow-wrap: anywhere;
}

@media screen and (max-width: 700px) {
.cheat-sheet-grid {
grid-template-columns: 1fr;
}
}

@page {
size: landscape;
margin: 0.32in;
}

@media print {
header,
footer,
nav,
aside,
.navbar,
.sidenav,
.toc,
.contribution,
.back-to-top,
.cheat-sheet-print-note {
display: none !important;
}

body {
background: #fff !important;
color: #000 !important;
}

main,
article,
.container,
.content {
width: 100% !important;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
}

.cheat-sheet {
color: #000;
font-size: 10pt;
line-height: 1.28;
}

.cheat-sheet a,
.cheat-sheet code,
.cheat-sheet pre *,
.cheat-sheet th,
.cheat-sheet td {
color: #000 !important;
}

.cheat-sheet pre,
.cheat-sheet th,
.cheat-sheet td {
background: transparent !important;
}

.cheat-sheet code {
font-size: 0.9em;
}

.cheat-sheet h1 {
font-size: 19pt;
margin: 0 0 0.08in;
}

.cheat-sheet h2 {
font-size: 11.5pt;
margin: 0.1in 0 0.04in;
}

.cheat-sheet p,
.cheat-sheet ul,
.cheat-sheet table,
.cheat-sheet pre {
margin: 0 0 0.08in;
}

.cheat-sheet ul {
padding-left: 1.2em;
}

.cheat-sheet li {
margin-bottom: 0.02in;
}

.cheat-sheet pre {
padding: 0.04in;
overflow: visible;
white-space: pre;
}

.cheat-sheet pre code {
font-size: 8.5pt;
}

.cheat-sheet th,
.cheat-sheet td {
padding: 0.03in;
}

.cheat-sheet-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.18in;
}
}
105 changes: 105 additions & 0 deletions docs/cheat-sheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<link rel="stylesheet" href="assets/cheat-sheet.css">

<div class="cheat-sheet">

# Spec Kit cheat sheet

Use the **terminal** for setup and your **agent's chat** for process steps. Examples use GitHub Copilot's default skills mode; [other agents use different syntax](integrations/cli.md#command-invocation).

<p class="cheat-sheet-print-note">Print this page for a one-page landscape reference.</p>

<div class="cheat-sheet-grid">

<div class="cheat-sheet-column">

## Get started · terminal

```bash
uv tool install specify-cli
specify init app --integration copilot
cd app
specify check
```

For an existing repository, first save a reviewable baseline, then run `specify init --here --force --integration copilot`. `--force` may replace conflicting managed files. See [installation](installation.md).

## Key artifacts

- `.specify/memory/constitution.md` — project principles.
- `specs/<feature>/spec.md` — what to build and why.
- `specs/<feature>/plan.md` — technical design.
- `specs/<feature>/tasks.md` — ordered work and progress.
- `specs/<feature>/checklists/` — requirements-quality checks.
- `.specify/feature.json` — active feature; switching Git branches alone does not change it.

## Handy CLI commands

`specify --help` · `specify version`

`specify extension search`

`specify workflow list`

See the [CLI reference](overview/core.md) and [customization guide](how-to/customization.md).

</div>

<div class="cheat-sheet-column">

## Build a feature · agent chat

Set the constitution once per project, then run each skill in order and review its result.

| Skill | Purpose |
| --- | --- |
| `/speckit-constitution` | Establish project principles. |
| `/speckit-specify` | Define the **what** and **why**. |
| `/speckit-clarify`* | Resolve ambiguities. |
| `/speckit-plan` | Design the **how** and choose the stack. |
| `/speckit-checklist`* | Create a requirements-quality checklist. |
| `/speckit-tasks` | Produce dependency-ordered tasks. |
| `/speckit-analyze`* | Check artifacts for inconsistencies; read-only. |
| `/speckit-implement` | Execute the tasks. |
| `/speckit-converge` | Find gaps and append remaining tasks. |

\* Optional quality gates. Review and mark custom checklists yourself.

If convergence adds tasks, repeat **implement → converge** until converged. See the [SDD quickstart](quickstart.md) and [command reference](reference/agentic-sdd.md).

</div>

<div class="cheat-sheet-column">

## [Fix a bug](guides/bugfix.md) · optional

Terminal: `specify extension add bug`

In agent chat, use the same slug for each step:

```text
/speckit-bug-assess "symptom" slug=login
/speckit-bug-fix slug=login
/speckit-bug-test slug=login
```

Assess the cause, fix it, then verify the original symptom.

## [Assess an idea](guides/assessment.md) · optional

Terminal: `specify extension add assess`

In agent chat, use the same slug for each step:

```text
/speckit-assess-intake "idea" slug=offline
/speckit-assess-research slug=offline
/speckit-assess-define slug=offline
/speckit-assess-shape slug=offline
/speckit-assess-decide slug=offline
```

The outcome is `go`, `needs-clarification`, or `kill`—not an implementation.

</div>
</div>
</div>
2 changes: 2 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

This guide will help you get started with Spec-Driven Development using Spec Kit. Throughout, we illustrate each step with a running example: **Taskify**, a small team productivity platform.

For a printable overview, see the [Spec Kit cheat sheet](cheat-sheet.md).

Use SDD to build a feature or application from a specification. For a repair,
follow the [bug-fixing quickstart](guides/bugfix.md); to decide whether an idea
deserves investment, follow the [idea assessment quickstart](guides/assessment.md).
Expand Down
2 changes: 2 additions & 0 deletions docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
href: guides/agentic-sdlc.md
- name: Spec-Driven Development
href: quickstart.md
- name: Cheat Sheet
href: cheat-sheet.md
- name: SDD Command Reference
href: reference/agentic-sdd.md
- name: Bug Fixing
Expand Down
Loading