blueprint-os 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/skills/brainstorming/SKILL.md +157 -157
- package/.agent/skills/creating-skills/SKILL.md +7 -7
- package/.agent/skills/deploying-standards/SKILL.md +85 -85
- package/.agent/skills/discovering-standards/SKILL.md +107 -107
- package/.agent/skills/find-skills/SKILL.md +133 -0
- package/README.md +11 -8
- package/adapters/antigravity.md +2 -2
- package/adapters/cursor.md +3 -2
- package/adapters/skills-sh.md +28 -15
- package/package.json +33 -33
- package/references/agent-workflow/Skills.md +155 -155
- package/references/agent-workflow/blast.md +155 -155
- package/standards/README.md +123 -123
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: brainstorming
|
|
3
|
-
description: Explores a problem through Socratic questioning before any spec or code is written. Surfaces real needs, compares approaches, and produces a design document. Use when the user wants to think through a new product, a new feature, a technical decision, or anything where the right approach is still undecided.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Brainstorming
|
|
7
|
-
|
|
8
|
-
## When to use this skill
|
|
9
|
-
|
|
10
|
-
- User says "I want to build X" but hasn't decided how yet
|
|
11
|
-
- Starting a brand new product with no codebase yet
|
|
12
|
-
- Adding a significant feature to an existing codebase
|
|
13
|
-
- A technical or architectural decision needs exploration before committing
|
|
14
|
-
- The approach is unclear or multiple valid paths exist
|
|
15
|
-
- User asks to "brainstorm", "think through", "explore", or "figure out" something
|
|
16
|
-
|
|
17
|
-
## Workflow
|
|
18
|
-
|
|
19
|
-
- [ ] Identify which mode applies (see Instructions > Modes)
|
|
20
|
-
- [ ] Load relevant context for the mode (standards, existing files, or nothing)
|
|
21
|
-
- [ ] Ask the brainstorming questions — one section at a time, conversationally
|
|
22
|
-
- [ ] Present 2–3 alternative approaches with tradeoffs after gathering answers
|
|
23
|
-
- [ ] Validate the preferred direction with the user
|
|
24
|
-
- [ ] Save the design document to `specs/brainstorm-<name>.md`
|
|
25
|
-
- [ ] Hand off to `shaping-specs` with the design document as input
|
|
26
|
-
|
|
27
|
-
## Instructions
|
|
28
|
-
|
|
29
|
-
### Modes
|
|
30
|
-
|
|
31
|
-
Pick the mode based on what the user is starting from:
|
|
32
|
-
|
|
33
|
-
**Mode 1 — New product**
|
|
34
|
-
No codebase exists yet. Start with open-ended exploration. No standards to load. Focus on the problem, the user, and the product vision before any technical decisions.
|
|
35
|
-
|
|
36
|
-
**Mode 2 — New feature in a legacy codebase**
|
|
37
|
-
A codebase exists. Load `standards/` files first to understand existing patterns and constraints. Brainstorm within those constraints — what fits the existing architecture, what would require deviation and why.
|
|
38
|
-
|
|
39
|
-
**Mode 3 — New feature with loaded context**
|
|
40
|
-
The user has specific files or modules in mind. Load those files before brainstorming. Keep exploration scoped to the relevant area.
|
|
41
|
-
|
|
42
|
-
### Brainstorming questions
|
|
43
|
-
|
|
44
|
-
Ask these in a natural, conversational flow — one section at a time. Do not ask all at once. Wait for responses before moving on.
|
|
45
|
-
|
|
46
|
-
**1. What is the real problem?**
|
|
47
|
-
- What are you actually trying to solve? (not the solution — the problem)
|
|
48
|
-
- Who experiences this problem and when?
|
|
49
|
-
- What happens today without this? What's the workaround?
|
|
50
|
-
|
|
51
|
-
**2. What does success look like?**
|
|
52
|
-
- If this works perfectly, what changes for the user?
|
|
53
|
-
- How would you know it worked? What's measurable?
|
|
54
|
-
- What would make this a failure even if it ships?
|
|
55
|
-
|
|
56
|
-
**3. What are the constraints?**
|
|
57
|
-
- Are there technical boundaries (existing stack, performance, compatibility)?
|
|
58
|
-
- Are there product constraints (scope, timeline, dependencies)?
|
|
59
|
-
- What can we NOT change, no matter what?
|
|
60
|
-
|
|
61
|
-
**4. What approaches could work?**
|
|
62
|
-
- What's the most obvious solution? What are its downsides?
|
|
63
|
-
- Is there a simpler version that solves 80% of the problem?
|
|
64
|
-
- Is there an existing tool, library, or pattern that does this?
|
|
65
|
-
|
|
66
|
-
**5. What are the risks?**
|
|
67
|
-
- What could go wrong during implementation?
|
|
68
|
-
- What edge cases will be hardest to handle?
|
|
69
|
-
- What assumption, if wrong, would invalidate the whole approach?
|
|
70
|
-
|
|
71
|
-
### Presenting alternatives
|
|
72
|
-
|
|
73
|
-
After gathering answers, present 2–3 distinct approaches:
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
## Approach A: [Name]
|
|
77
|
-
[One paragraph description]
|
|
78
|
-
|
|
79
|
-
Pros:
|
|
80
|
-
- [Pro 1]
|
|
81
|
-
- [Pro 2]
|
|
82
|
-
|
|
83
|
-
Cons:
|
|
84
|
-
- [Con 1]
|
|
85
|
-
- [Con 2]
|
|
86
|
-
|
|
87
|
-
Best if: [condition where this wins]
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## Approach B: [Name]
|
|
92
|
-
...
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
Ask the user which direction resonates before writing the design document.
|
|
96
|
-
|
|
97
|
-
### Design document format
|
|
98
|
-
|
|
99
|
-
Save to `specs/brainstorm-<name>.md`:
|
|
100
|
-
|
|
101
|
-
```markdown
|
|
102
|
-
# Brainstorm: [Topic]
|
|
103
|
-
|
|
104
|
-
**Date:** [YYYY-MM-DD]
|
|
105
|
-
**Mode:** New product | Legacy codebase | Feature in context
|
|
106
|
-
**Chosen approach:** [Approach name]
|
|
107
|
-
|
|
108
|
-
## The problem
|
|
109
|
-
[What we're actually solving and for whom]
|
|
110
|
-
|
|
111
|
-
## Success criteria
|
|
112
|
-
- [What done looks like]
|
|
113
|
-
|
|
114
|
-
## Constraints
|
|
115
|
-
- [Technical and product constraints]
|
|
116
|
-
|
|
117
|
-
## Approaches considered
|
|
118
|
-
### [Approach A]
|
|
119
|
-
[Summary + why it was not chosen, or why it was chosen]
|
|
120
|
-
|
|
121
|
-
### [Approach B]
|
|
122
|
-
[Summary + tradeoffs]
|
|
123
|
-
|
|
124
|
-
## Chosen direction
|
|
125
|
-
[Rationale for the selected approach]
|
|
126
|
-
|
|
127
|
-
## Open questions
|
|
128
|
-
- [Anything still unresolved that shaping-specs needs to address]
|
|
129
|
-
|
|
130
|
-
## Context loaded
|
|
131
|
-
- `standards/[file].md` — [what was relevant]
|
|
132
|
-
- `path/to/file` — [why it was included]
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### Hand-off to shaping-specs
|
|
136
|
-
|
|
137
|
-
After saving the design document, tell the user:
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
Brainstorm complete. Load specs/brainstorm-<name>.md and run the shaping-specs skill to formalize this into an implementation spec.
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
The `shaping-specs` skill will use the design document as its starting context, so the shaping questions can be answered faster and with less ambiguity.
|
|
144
|
-
|
|
145
|
-
### What to avoid
|
|
146
|
-
|
|
147
|
-
- Do not propose implementation details during brainstorming — that belongs in the spec
|
|
148
|
-
- Do not skip to a single approach without exploring alternatives
|
|
149
|
-
- Do not skip the problem questions and jump to solutions
|
|
150
|
-
- Do not ask all questions at once — keep the conversation flowing
|
|
151
|
-
|
|
152
|
-
## Resources
|
|
153
|
-
|
|
154
|
-
- Design document output: `specs/`
|
|
155
|
-
- Next step: `.agent/skills/shaping-specs/SKILL.md`
|
|
156
|
-
- Existing standards (Mode 2): `standards/README.md`
|
|
157
|
-
- Superpowers brainstorming reference: `npx skills add obra/superpowers`
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming
|
|
3
|
+
description: Explores a problem through Socratic questioning before any spec or code is written. Surfaces real needs, compares approaches, and produces a design document. Use when the user wants to think through a new product, a new feature, a technical decision, or anything where the right approach is still undecided.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorming
|
|
7
|
+
|
|
8
|
+
## When to use this skill
|
|
9
|
+
|
|
10
|
+
- User says "I want to build X" but hasn't decided how yet
|
|
11
|
+
- Starting a brand new product with no codebase yet
|
|
12
|
+
- Adding a significant feature to an existing codebase
|
|
13
|
+
- A technical or architectural decision needs exploration before committing
|
|
14
|
+
- The approach is unclear or multiple valid paths exist
|
|
15
|
+
- User asks to "brainstorm", "think through", "explore", or "figure out" something
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
- [ ] Identify which mode applies (see Instructions > Modes)
|
|
20
|
+
- [ ] Load relevant context for the mode (standards, existing files, or nothing)
|
|
21
|
+
- [ ] Ask the brainstorming questions — one section at a time, conversationally
|
|
22
|
+
- [ ] Present 2–3 alternative approaches with tradeoffs after gathering answers
|
|
23
|
+
- [ ] Validate the preferred direction with the user
|
|
24
|
+
- [ ] Save the design document to `specs/brainstorm-<name>.md`
|
|
25
|
+
- [ ] Hand off to `shaping-specs` with the design document as input
|
|
26
|
+
|
|
27
|
+
## Instructions
|
|
28
|
+
|
|
29
|
+
### Modes
|
|
30
|
+
|
|
31
|
+
Pick the mode based on what the user is starting from:
|
|
32
|
+
|
|
33
|
+
**Mode 1 — New product**
|
|
34
|
+
No codebase exists yet. Start with open-ended exploration. No standards to load. Focus on the problem, the user, and the product vision before any technical decisions.
|
|
35
|
+
|
|
36
|
+
**Mode 2 — New feature in a legacy codebase**
|
|
37
|
+
A codebase exists. Load `standards/` files first to understand existing patterns and constraints. Brainstorm within those constraints — what fits the existing architecture, what would require deviation and why.
|
|
38
|
+
|
|
39
|
+
**Mode 3 — New feature with loaded context**
|
|
40
|
+
The user has specific files or modules in mind. Load those files before brainstorming. Keep exploration scoped to the relevant area.
|
|
41
|
+
|
|
42
|
+
### Brainstorming questions
|
|
43
|
+
|
|
44
|
+
Ask these in a natural, conversational flow — one section at a time. Do not ask all at once. Wait for responses before moving on.
|
|
45
|
+
|
|
46
|
+
**1. What is the real problem?**
|
|
47
|
+
- What are you actually trying to solve? (not the solution — the problem)
|
|
48
|
+
- Who experiences this problem and when?
|
|
49
|
+
- What happens today without this? What's the workaround?
|
|
50
|
+
|
|
51
|
+
**2. What does success look like?**
|
|
52
|
+
- If this works perfectly, what changes for the user?
|
|
53
|
+
- How would you know it worked? What's measurable?
|
|
54
|
+
- What would make this a failure even if it ships?
|
|
55
|
+
|
|
56
|
+
**3. What are the constraints?**
|
|
57
|
+
- Are there technical boundaries (existing stack, performance, compatibility)?
|
|
58
|
+
- Are there product constraints (scope, timeline, dependencies)?
|
|
59
|
+
- What can we NOT change, no matter what?
|
|
60
|
+
|
|
61
|
+
**4. What approaches could work?**
|
|
62
|
+
- What's the most obvious solution? What are its downsides?
|
|
63
|
+
- Is there a simpler version that solves 80% of the problem?
|
|
64
|
+
- Is there an existing tool, library, or pattern that does this?
|
|
65
|
+
|
|
66
|
+
**5. What are the risks?**
|
|
67
|
+
- What could go wrong during implementation?
|
|
68
|
+
- What edge cases will be hardest to handle?
|
|
69
|
+
- What assumption, if wrong, would invalidate the whole approach?
|
|
70
|
+
|
|
71
|
+
### Presenting alternatives
|
|
72
|
+
|
|
73
|
+
After gathering answers, present 2–3 distinct approaches:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
## Approach A: [Name]
|
|
77
|
+
[One paragraph description]
|
|
78
|
+
|
|
79
|
+
Pros:
|
|
80
|
+
- [Pro 1]
|
|
81
|
+
- [Pro 2]
|
|
82
|
+
|
|
83
|
+
Cons:
|
|
84
|
+
- [Con 1]
|
|
85
|
+
- [Con 2]
|
|
86
|
+
|
|
87
|
+
Best if: [condition where this wins]
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Approach B: [Name]
|
|
92
|
+
...
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Ask the user which direction resonates before writing the design document.
|
|
96
|
+
|
|
97
|
+
### Design document format
|
|
98
|
+
|
|
99
|
+
Save to `specs/brainstorm-<name>.md`:
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
# Brainstorm: [Topic]
|
|
103
|
+
|
|
104
|
+
**Date:** [YYYY-MM-DD]
|
|
105
|
+
**Mode:** New product | Legacy codebase | Feature in context
|
|
106
|
+
**Chosen approach:** [Approach name]
|
|
107
|
+
|
|
108
|
+
## The problem
|
|
109
|
+
[What we're actually solving and for whom]
|
|
110
|
+
|
|
111
|
+
## Success criteria
|
|
112
|
+
- [What done looks like]
|
|
113
|
+
|
|
114
|
+
## Constraints
|
|
115
|
+
- [Technical and product constraints]
|
|
116
|
+
|
|
117
|
+
## Approaches considered
|
|
118
|
+
### [Approach A]
|
|
119
|
+
[Summary + why it was not chosen, or why it was chosen]
|
|
120
|
+
|
|
121
|
+
### [Approach B]
|
|
122
|
+
[Summary + tradeoffs]
|
|
123
|
+
|
|
124
|
+
## Chosen direction
|
|
125
|
+
[Rationale for the selected approach]
|
|
126
|
+
|
|
127
|
+
## Open questions
|
|
128
|
+
- [Anything still unresolved that shaping-specs needs to address]
|
|
129
|
+
|
|
130
|
+
## Context loaded
|
|
131
|
+
- `standards/[file].md` — [what was relevant]
|
|
132
|
+
- `path/to/file` — [why it was included]
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Hand-off to shaping-specs
|
|
136
|
+
|
|
137
|
+
After saving the design document, tell the user:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
Brainstorm complete. Load specs/brainstorm-<name>.md and run the shaping-specs skill to formalize this into an implementation spec.
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The `shaping-specs` skill will use the design document as its starting context, so the shaping questions can be answered faster and with less ambiguity.
|
|
144
|
+
|
|
145
|
+
### What to avoid
|
|
146
|
+
|
|
147
|
+
- Do not propose implementation details during brainstorming — that belongs in the spec
|
|
148
|
+
- Do not skip to a single approach without exploring alternatives
|
|
149
|
+
- Do not skip the problem questions and jump to solutions
|
|
150
|
+
- Do not ask all questions at once — keep the conversation flowing
|
|
151
|
+
|
|
152
|
+
## Resources
|
|
153
|
+
|
|
154
|
+
- Design document output: `specs/`
|
|
155
|
+
- Next step: `.agent/skills/shaping-specs/SKILL.md`
|
|
156
|
+
- Existing standards (Mode 2): `standards/README.md`
|
|
157
|
+
- Superpowers brainstorming reference: `npx skills add obra/superpowers -a antigravity -y --copy`
|
|
@@ -16,7 +16,7 @@ description: Acquires or creates Blueprint OS skills. Searches skills.sh registr
|
|
|
16
16
|
|
|
17
17
|
- [ ] Clarify the skill's purpose — what task does it solve, and what are its triggers?
|
|
18
18
|
- [ ] Search skills.sh for an existing community skill (see Instructions > Discovering on skills.sh)
|
|
19
|
-
- [ ] If found: install with `npx skills add <owner/repo
|
|
19
|
+
- [ ] If found: install with `npx skills add <owner/repo> -a antigravity -y --copy` and evaluate fit
|
|
20
20
|
- [ ] If it covers the need as-is: done — update the Skills Index in `README.md`
|
|
21
21
|
- [ ] If it partially fits: customize it (see Instructions > Customizing an installed skill)
|
|
22
22
|
- [ ] If nothing suitable found: create from scratch (see Instructions > Creating from scratch)
|
|
@@ -32,7 +32,7 @@ Before building anything, search the [skills.sh registry](https://skills.sh) —
|
|
|
32
32
|
**Search via agent:**
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
npx skills add https://github.com/vercel-labs/skills --skill find-skills
|
|
35
|
+
npx skills add https://github.com/vercel-labs/skills --skill find-skills -a antigravity -y --copy
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Then ask the `find-skills` skill to search for what you need.
|
|
@@ -42,18 +42,18 @@ Then ask the `find-skills` skill to search for what you need.
|
|
|
42
42
|
**Install a skill:**
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
npx skills add <owner/repo>
|
|
45
|
+
npx skills add <owner/repo> -a antigravity -y --copy
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Example:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
npx skills add supabase/agent-skills
|
|
52
|
-
npx skills add vercel-labs/agent-skills
|
|
53
|
-
npx skills add anthropics/skills
|
|
51
|
+
npx skills add supabase/agent-skills -a antigravity -y --copy
|
|
52
|
+
npx skills add vercel-labs/agent-skills -a antigravity -y --copy
|
|
53
|
+
npx skills add anthropics/skills -a antigravity -y --copy
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
The `-a antigravity` flag installs to `.agent/skills/`, matching Blueprint OS. The `--copy` flag creates real files (not symlinks) so deleting `.agents` won't break the skill when Cursor is detected.
|
|
57
57
|
|
|
58
58
|
### Customizing an installed skill
|
|
59
59
|
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: deploying-standards
|
|
3
|
-
description: Injects relevant project standards into the agent's current context before implementation work begins. Use when the user is about to start coding, asks the agent to build something, or says "inject standards", "load standards", or "deploy standards".
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Deploying Standards
|
|
7
|
-
|
|
8
|
-
## When to use this skill
|
|
9
|
-
|
|
10
|
-
- User is about to start implementation on a task or feature
|
|
11
|
-
- User asks to "inject standards", "load context", or "deploy standards"
|
|
12
|
-
- Starting a new conversation with context that needs to carry forward
|
|
13
|
-
- After shaping a spec and before executing it
|
|
14
|
-
|
|
15
|
-
## Workflow
|
|
16
|
-
|
|
17
|
-
- [ ] Check if a spec exists for the current task in `specs/`
|
|
18
|
-
- [ ] Read `standards/README.md` to see what standards files are available
|
|
19
|
-
- [ ] Read `references/README.md` to see what reference files exist
|
|
20
|
-
- [ ] Identify which standards and references are relevant to the current task (spec may list applicable references)
|
|
21
|
-
- [ ] Read those standards and reference files and internalize the content
|
|
22
|
-
- [ ] Confirm to the user which standards and references were loaded
|
|
23
|
-
- [ ] Proceed with the task using those standards and references actively applied
|
|
24
|
-
|
|
25
|
-
## Instructions
|
|
26
|
-
|
|
27
|
-
### Relevance mapping
|
|
28
|
-
|
|
29
|
-
Match the task type to the standards files most likely to apply:
|
|
30
|
-
|
|
31
|
-
| Task type | Standards to load |
|
|
32
|
-
|---|---|
|
|
33
|
-
| Building a UI component | `component-patterns`, `naming-conventions`, `tech-stack` |
|
|
34
|
-
| Creating an API endpoint | `api-design`, `error-handling`, `naming-conventions` |
|
|
35
|
-
| Writing database queries | `data-models`, `naming-conventions` |
|
|
36
|
-
| Adding authentication | `authentication`, `error-handling` |
|
|
37
|
-
| Writing tests | `testing-approach`, `naming-conventions` |
|
|
38
|
-
| Refactoring | `naming-conventions`, `folder-structure`, relevant domain |
|
|
39
|
-
| General feature | `tech-stack`, `naming-conventions`, `folder-structure` |
|
|
40
|
-
|
|
41
|
-
When in doubt, always load `tech-stack` and `naming-conventions` at minimum.
|
|
42
|
-
|
|
43
|
-
### Auto-suggest mode
|
|
44
|
-
|
|
45
|
-
If the user says "deploy standards" without specifying which:
|
|
46
|
-
|
|
47
|
-
1. Ask what they are about to build (one sentence)
|
|
48
|
-
2. Use the relevance map above to select the appropriate files
|
|
49
|
-
3. Load those files and confirm: "Loaded: `standards/api-design.md`, `standards/naming-conventions.md`"
|
|
50
|
-
|
|
51
|
-
### Manual mode
|
|
52
|
-
|
|
53
|
-
If the user specifies standards explicitly (e.g., "inject the API standards"):
|
|
54
|
-
|
|
55
|
-
1. Locate the matching file in `standards/`
|
|
56
|
-
2. Read it and confirm it is loaded
|
|
57
|
-
|
|
58
|
-
### References
|
|
59
|
-
|
|
60
|
-
If the spec lists "Applicable references" or the task involves UI flows, architecture, or design, check `references/` and load relevant files (design docs, flowcharts, diagrams). Reference `references/README.md` for the index.
|
|
61
|
-
|
|
62
|
-
### After loading
|
|
63
|
-
|
|
64
|
-
State which standards and references were loaded, then proceed with the task. Keep standards active throughout the session — do not ignore them mid-task.
|
|
65
|
-
|
|
66
|
-
If a decision during execution conflicts with a loaded standard, surface the conflict explicitly:
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
This would normally follow [standard X], but [situation]. Do you want me to follow the standard or make an exception here?
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### Standards not found
|
|
73
|
-
|
|
74
|
-
If `standards/` is empty or does not exist:
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
No standards files found. To create standards for this project, use the discovering-standards skill.
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Resources
|
|
81
|
-
|
|
82
|
-
- Standards directory: `standards/`
|
|
83
|
-
- References directory: `references/`
|
|
84
|
-
- Discover new standards: `.agent/skills/discovering-standards/SKILL.md`
|
|
85
|
-
- Shape a spec first: `.agent/skills/shaping-specs/SKILL.md`
|
|
1
|
+
---
|
|
2
|
+
name: deploying-standards
|
|
3
|
+
description: Injects relevant project standards into the agent's current context before implementation work begins. Use when the user is about to start coding, asks the agent to build something, or says "inject standards", "load standards", or "deploy standards".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Deploying Standards
|
|
7
|
+
|
|
8
|
+
## When to use this skill
|
|
9
|
+
|
|
10
|
+
- User is about to start implementation on a task or feature
|
|
11
|
+
- User asks to "inject standards", "load context", or "deploy standards"
|
|
12
|
+
- Starting a new conversation with context that needs to carry forward
|
|
13
|
+
- After shaping a spec and before executing it
|
|
14
|
+
|
|
15
|
+
## Workflow
|
|
16
|
+
|
|
17
|
+
- [ ] Check if a spec exists for the current task in `specs/`
|
|
18
|
+
- [ ] Read `standards/README.md` to see what standards files are available
|
|
19
|
+
- [ ] Read `references/README.md` to see what reference files exist
|
|
20
|
+
- [ ] Identify which standards and references are relevant to the current task (spec may list applicable references)
|
|
21
|
+
- [ ] Read those standards and reference files and internalize the content
|
|
22
|
+
- [ ] Confirm to the user which standards and references were loaded
|
|
23
|
+
- [ ] Proceed with the task using those standards and references actively applied
|
|
24
|
+
|
|
25
|
+
## Instructions
|
|
26
|
+
|
|
27
|
+
### Relevance mapping
|
|
28
|
+
|
|
29
|
+
Match the task type to the standards files most likely to apply:
|
|
30
|
+
|
|
31
|
+
| Task type | Standards to load |
|
|
32
|
+
|---|---|
|
|
33
|
+
| Building a UI component | `component-patterns`, `naming-conventions`, `tech-stack` |
|
|
34
|
+
| Creating an API endpoint | `api-design`, `error-handling`, `naming-conventions` |
|
|
35
|
+
| Writing database queries | `data-models`, `naming-conventions` |
|
|
36
|
+
| Adding authentication | `authentication`, `error-handling` |
|
|
37
|
+
| Writing tests | `testing-approach`, `naming-conventions` |
|
|
38
|
+
| Refactoring | `naming-conventions`, `folder-structure`, relevant domain |
|
|
39
|
+
| General feature | `tech-stack`, `naming-conventions`, `folder-structure` |
|
|
40
|
+
|
|
41
|
+
When in doubt, always load `tech-stack` and `naming-conventions` at minimum.
|
|
42
|
+
|
|
43
|
+
### Auto-suggest mode
|
|
44
|
+
|
|
45
|
+
If the user says "deploy standards" without specifying which:
|
|
46
|
+
|
|
47
|
+
1. Ask what they are about to build (one sentence)
|
|
48
|
+
2. Use the relevance map above to select the appropriate files
|
|
49
|
+
3. Load those files and confirm: "Loaded: `standards/api-design.md`, `standards/naming-conventions.md`"
|
|
50
|
+
|
|
51
|
+
### Manual mode
|
|
52
|
+
|
|
53
|
+
If the user specifies standards explicitly (e.g., "inject the API standards"):
|
|
54
|
+
|
|
55
|
+
1. Locate the matching file in `standards/`
|
|
56
|
+
2. Read it and confirm it is loaded
|
|
57
|
+
|
|
58
|
+
### References
|
|
59
|
+
|
|
60
|
+
If the spec lists "Applicable references" or the task involves UI flows, architecture, or design, check `references/` and load relevant files (design docs, flowcharts, diagrams). Reference `references/README.md` for the index.
|
|
61
|
+
|
|
62
|
+
### After loading
|
|
63
|
+
|
|
64
|
+
State which standards and references were loaded, then proceed with the task. Keep standards active throughout the session — do not ignore them mid-task.
|
|
65
|
+
|
|
66
|
+
If a decision during execution conflicts with a loaded standard, surface the conflict explicitly:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
This would normally follow [standard X], but [situation]. Do you want me to follow the standard or make an exception here?
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Standards not found
|
|
73
|
+
|
|
74
|
+
If `standards/` is empty or does not exist:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
No standards files found. To create standards for this project, use the discovering-standards skill.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Resources
|
|
81
|
+
|
|
82
|
+
- Standards directory: `standards/`
|
|
83
|
+
- References directory: `references/`
|
|
84
|
+
- Discover new standards: `.agent/skills/discovering-standards/SKILL.md`
|
|
85
|
+
- Shape a spec first: `.agent/skills/shaping-specs/SKILL.md`
|