@adityaaria/spark 6.0.3
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/.claude-plugin/marketplace.json +20 -0
- package/.claude-plugin/plugin.json +20 -0
- package/.codex-plugin/plugin.json +48 -0
- package/.cursor-plugin/plugin.json +23 -0
- package/.kimi-plugin/plugin.json +38 -0
- package/.opencode/INSTALL.md +115 -0
- package/.opencode/plugins/spark.js +139 -0
- package/.pi/extensions/spark.ts +121 -0
- package/.version-bump.json +21 -0
- package/CLAUDE.md +115 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/GEMINI.md +2 -0
- package/LICENSE +21 -0
- package/README.md +282 -0
- package/RELEASE-NOTES.md +1299 -0
- package/assets/app-icon.png +0 -0
- package/assets/spark-small.svg +1 -0
- package/bin/spark.js +7 -0
- package/docs/README.kimi.md +94 -0
- package/docs/README.opencode.md +170 -0
- package/docs/porting-to-a-new-harness.md +830 -0
- package/gemini-extension.json +6 -0
- package/hooks/hooks-codex.json +16 -0
- package/hooks/hooks-cursor.json +10 -0
- package/hooks/hooks.json +16 -0
- package/hooks/run-hook.cmd +46 -0
- package/hooks/session-start +49 -0
- package/hooks/session-start-codex +26 -0
- package/package.json +52 -0
- package/skills/brainstorming/SKILL.md +159 -0
- package/skills/brainstorming/scripts/frame-template.html +213 -0
- package/skills/brainstorming/scripts/helper.js +167 -0
- package/skills/brainstorming/scripts/server.cjs +722 -0
- package/skills/brainstorming/scripts/start-server.sh +209 -0
- package/skills/brainstorming/scripts/stop-server.sh +120 -0
- package/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/skills/brainstorming/visual-companion.md +298 -0
- package/skills/dispatching-parallel-agents/SKILL.md +185 -0
- package/skills/executing-plans/SKILL.md +70 -0
- package/skills/finishing-a-development-branch/SKILL.md +241 -0
- package/skills/receiving-code-review/SKILL.md +213 -0
- package/skills/requesting-code-review/SKILL.md +103 -0
- package/skills/requesting-code-review/code-reviewer.md +172 -0
- package/skills/subagent-driven-development/SKILL.md +418 -0
- package/skills/subagent-driven-development/implementer-prompt.md +139 -0
- package/skills/subagent-driven-development/scripts/review-package +44 -0
- package/skills/subagent-driven-development/scripts/sdd-workspace +22 -0
- package/skills/subagent-driven-development/scripts/task-brief +40 -0
- package/skills/subagent-driven-development/task-reviewer-prompt.md +188 -0
- package/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/systematic-debugging/SKILL.md +296 -0
- package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/systematic-debugging/find-polluter.sh +63 -0
- package/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/systematic-debugging/test-academic.md +14 -0
- package/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/test-driven-development/SKILL.md +371 -0
- package/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/skills/using-git-worktrees/SKILL.md +202 -0
- package/skills/using-spark/SKILL.md +121 -0
- package/skills/using-spark/references/antigravity-tools.md +96 -0
- package/skills/using-spark/references/claude-code-tools.md +50 -0
- package/skills/using-spark/references/codex-tools.md +72 -0
- package/skills/using-spark/references/copilot-tools.md +49 -0
- package/skills/using-spark/references/gemini-tools.md +63 -0
- package/skills/using-spark/references/pi-tools.md +28 -0
- package/skills/verification-before-completion/SKILL.md +139 -0
- package/skills/writing-plans/SKILL.md +174 -0
- package/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/skills/writing-skills/SKILL.md +689 -0
- package/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/writing-skills/persuasion-principles.md +187 -0
- package/skills/writing-skills/render-graphs.js +168 -0
- package/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/src/cli/index.js +26 -0
- package/src/cli/install.js +47 -0
- package/src/cli/output.js +11 -0
- package/src/cli/parse-args.js +46 -0
- package/src/cli/prompt.js +10 -0
- package/src/installer/adapters/common.js +59 -0
- package/src/installer/adapters/extension-style.js +67 -0
- package/src/installer/adapters/shell-hook.js +57 -0
- package/src/installer/detect.js +168 -0
- package/src/installer/errors.js +7 -0
- package/src/installer/registry.js +35 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
jesse@primeradiant.com.
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
78
|
+
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
82
|
+
|
|
83
|
+
### 2. Warning
|
|
84
|
+
|
|
85
|
+
**Community Impact**: A violation through a single incident or series
|
|
86
|
+
of actions.
|
|
87
|
+
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or
|
|
93
|
+
permanent ban.
|
|
94
|
+
|
|
95
|
+
### 3. Temporary Ban
|
|
96
|
+
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
99
|
+
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
105
|
+
|
|
106
|
+
### 4. Permanent Ban
|
|
107
|
+
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
+
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
113
|
+
the community.
|
|
114
|
+
|
|
115
|
+
## Attribution
|
|
116
|
+
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.0, available at
|
|
119
|
+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
120
|
+
|
|
121
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
|
+
|
|
124
|
+
[homepage]: https://www.contributor-covenant.org
|
|
125
|
+
|
|
126
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
+
https://www.contributor-covenant.org/faq. Translations are available at
|
|
128
|
+
https://www.contributor-covenant.org/translations.
|
package/GEMINI.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Jesse Vincent
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# SPARK
|
|
2
|
+
|
|
3
|
+
SPARK is a complete software development methodology for your coding agents, built on top of a set of composable skills and some initial instructions that make sure your agent uses them.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Quickstart
|
|
7
|
+
|
|
8
|
+
Give your agent SPARK: [Claude Code](#claude-code), [Antigravity](#antigravity), [Codex App](#codex-app), [Codex CLI](#codex-cli), [Cursor](#cursor), [Factory Droid](#factory-droid), [Gemini CLI](#gemini-cli), [GitHub Copilot CLI](#github-copilot-cli), [Kimi Code](#kimi-code), [OpenCode](#opencode), [Pi](#pi).
|
|
9
|
+
|
|
10
|
+
## How it works
|
|
11
|
+
|
|
12
|
+
It starts from the moment you fire up your coding agent. As soon as it sees that you're building something, it *doesn't* just jump into trying to write code. Instead, it steps back and asks you what you're really trying to do.
|
|
13
|
+
|
|
14
|
+
Once it's teased a spec out of the conversation, it shows it to you in chunks short enough to actually read and digest.
|
|
15
|
+
|
|
16
|
+
After you've signed off on the design, your agent puts together an implementation plan that's clear enough for an enthusiastic junior engineer with poor taste, no judgement, no project context, and an aversion to testing to follow. It emphasizes true red/green TDD, YAGNI (You Aren't Gonna Need It), and DRY.
|
|
17
|
+
|
|
18
|
+
Next up, once you say "go", it launches a *subagent-driven-development* process, having agents work through each engineering task, inspecting and reviewing their work, and continuing forward. It's not uncommon for your agent to work autonomously for a couple hours at a time without deviating from the plan you put together.
|
|
19
|
+
|
|
20
|
+
There's a bunch more to it, but that's the core of the system. And because the skills trigger automatically, you don't need to do anything special. Your coding agent just has SPARK.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
Installation differs by harness. If you use more than one, install SPARK separately for each one.
|
|
25
|
+
|
|
26
|
+
### NPM Meta-Installer
|
|
27
|
+
|
|
28
|
+
If you want one command that detects the harness or asks you which one you are using, run:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx @adityaaria/spark install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
You can force a specific harness with `--harness <name>` if you already know it.
|
|
35
|
+
|
|
36
|
+
### Claude Code
|
|
37
|
+
|
|
38
|
+
SPARK is available via the [official Claude plugin marketplace](https://claude.com/plugins/spark)
|
|
39
|
+
|
|
40
|
+
#### Official Marketplace
|
|
41
|
+
|
|
42
|
+
- Install the plugin from Anthropic's official marketplace:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
/plugin install spark@claude-plugins-official
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
#### SPARK Marketplace
|
|
49
|
+
|
|
50
|
+
The SPARK marketplace provides SPARK and some other related plugins for Claude Code.
|
|
51
|
+
|
|
52
|
+
- Register the marketplace:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
/plugin marketplace add adityaaria/SPARK-marketplace
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- Install the plugin from this marketplace:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
/plugin install spark@spark-marketplace
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Antigravity
|
|
65
|
+
|
|
66
|
+
Install SPARK as a plugin from this repository:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
agy plugin install https://github.com/adityaaria/SPARK
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Antigravity runs the plugin's session-start hook, so SPARK is active from
|
|
73
|
+
the first message. Reinstall with the same command to update.
|
|
74
|
+
|
|
75
|
+
### Codex App
|
|
76
|
+
|
|
77
|
+
SPARK is available via the [official Codex plugin marketplace](https://github.com/openai/plugins).
|
|
78
|
+
|
|
79
|
+
- In the Codex app, click on Plugins in the sidebar.
|
|
80
|
+
- You should see `SPARK` in the Coding section.
|
|
81
|
+
- Click the `+` next to SPARK and follow the prompts.
|
|
82
|
+
|
|
83
|
+
### Codex CLI
|
|
84
|
+
|
|
85
|
+
SPARK is available via the [official Codex plugin marketplace](https://github.com/openai/plugins).
|
|
86
|
+
|
|
87
|
+
- Open the plugin search interface:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
/plugins
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
- Search for SPARK:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
spark
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
- Select `Install Plugin`.
|
|
100
|
+
|
|
101
|
+
### Cursor
|
|
102
|
+
|
|
103
|
+
- In Cursor Agent chat, install from marketplace:
|
|
104
|
+
|
|
105
|
+
```text
|
|
106
|
+
/add-plugin spark
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
- Or search for "spark" in the plugin marketplace.
|
|
110
|
+
|
|
111
|
+
### Factory Droid
|
|
112
|
+
|
|
113
|
+
- Register the marketplace:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
droid plugin marketplace add https://github.com/adityaaria/SPARK
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
- Install the plugin:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
droid plugin install spark@spark
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Gemini CLI
|
|
126
|
+
|
|
127
|
+
- Install the extension:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
gemini extensions install https://github.com/adityaaria/SPARK
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
- Update later:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
gemini extensions update spark
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### GitHub Copilot CLI
|
|
140
|
+
|
|
141
|
+
- Register the marketplace:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
copilot plugin marketplace add adityaaria/SPARK-marketplace
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
- Install the plugin:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
copilot plugin install spark@spark-marketplace
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Kimi Code
|
|
154
|
+
|
|
155
|
+
SPARK is available in Kimi Code's plugin marketplace.
|
|
156
|
+
|
|
157
|
+
- Open Kimi Code's plugin manager:
|
|
158
|
+
|
|
159
|
+
```text
|
|
160
|
+
/plugins
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
- Go to `Marketplace` > `SPARK` and install it.
|
|
164
|
+
|
|
165
|
+
- Or install directly from this repository:
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
/plugins install https://github.com/adityaaria/SPARK
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
- Detailed docs: [docs/README.kimi.md](docs/README.kimi.md)
|
|
172
|
+
|
|
173
|
+
### OpenCode
|
|
174
|
+
|
|
175
|
+
OpenCode uses its own plugin install; install SPARK separately even if you
|
|
176
|
+
already use it in another harness.
|
|
177
|
+
|
|
178
|
+
- Tell OpenCode:
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
Fetch and follow instructions from https://raw.githubusercontent.com/adityaaria/SPARK/refs/heads/main/.opencode/INSTALL.md
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
- Detailed docs: [docs/README.opencode.md](docs/README.opencode.md)
|
|
185
|
+
|
|
186
|
+
### Pi
|
|
187
|
+
|
|
188
|
+
Install SPARK as a Pi package from this repository:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
pi install git:github.com/adityaaria/SPARK
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
For local development, run Pi with this checkout loaded as a temporary package:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
pi -e /path/to/spark
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
The Pi package loads the SPARK skills and a small extension that injects the `using-spark` bootstrap at session startup and again after compaction. Pi has native skills, so no compatibility `Skill` tool is required. Subagent and task-list tools remain optional Pi companion packages.
|
|
201
|
+
|
|
202
|
+
## The Basic Workflow
|
|
203
|
+
|
|
204
|
+
1. **brainstorming** - Activates before writing code. Refines rough ideas through questions, explores alternatives, presents design in sections for validation. Saves design document.
|
|
205
|
+
|
|
206
|
+
2. **using-git-worktrees** - Activates after design approval. Creates isolated workspace on new branch, runs project setup, verifies clean test baseline.
|
|
207
|
+
|
|
208
|
+
3. **writing-plans** - Activates with approved design. Breaks work into bite-sized tasks (2-5 minutes each). Every task has exact file paths, complete code, verification steps.
|
|
209
|
+
|
|
210
|
+
4. **subagent-driven-development** or **executing-plans** - Activates with plan. Dispatches fresh subagent per task with two-stage review (spec compliance, then code quality), or executes in batches with human checkpoints.
|
|
211
|
+
|
|
212
|
+
5. **test-driven-development** - Activates during implementation. Enforces RED-GREEN-REFACTOR: write failing test, watch it fail, write minimal code, watch it pass, commit. Deletes code written before tests.
|
|
213
|
+
|
|
214
|
+
6. **requesting-code-review** - Activates between tasks. Reviews against plan, reports issues by severity. Critical issues block progress.
|
|
215
|
+
|
|
216
|
+
7. **finishing-a-development-branch** - Activates when tasks complete. Verifies tests, presents options (merge/PR/keep/discard), cleans up worktree.
|
|
217
|
+
|
|
218
|
+
**The agent checks for relevant skills before any task.** Mandatory workflows, not suggestions.
|
|
219
|
+
|
|
220
|
+
## What's Inside
|
|
221
|
+
|
|
222
|
+
### Skills Library
|
|
223
|
+
|
|
224
|
+
**Testing**
|
|
225
|
+
- **test-driven-development** - RED-GREEN-REFACTOR cycle (includes testing anti-patterns reference)
|
|
226
|
+
|
|
227
|
+
**Debugging**
|
|
228
|
+
- **systematic-debugging** - 4-phase root cause process (includes root-cause-tracing, defense-in-depth, condition-based-waiting techniques)
|
|
229
|
+
- **verification-before-completion** - Ensure it's actually fixed
|
|
230
|
+
|
|
231
|
+
**Collaboration**
|
|
232
|
+
- **brainstorming** - Socratic design refinement
|
|
233
|
+
- **writing-plans** - Detailed implementation plans
|
|
234
|
+
- **executing-plans** - Batch execution with checkpoints
|
|
235
|
+
- **dispatching-parallel-agents** - Concurrent subagent workflows
|
|
236
|
+
- **requesting-code-review** - Pre-review checklist
|
|
237
|
+
- **receiving-code-review** - Responding to feedback
|
|
238
|
+
- **using-git-worktrees** - Parallel development branches
|
|
239
|
+
- **finishing-a-development-branch** - Merge/PR decision workflow
|
|
240
|
+
- **subagent-driven-development** - Fast iteration with two-stage review (spec compliance, then code quality)
|
|
241
|
+
|
|
242
|
+
**Meta**
|
|
243
|
+
- **writing-skills** - Create new skills following best practices (includes testing methodology)
|
|
244
|
+
- **using-spark** - Introduction to the skills system
|
|
245
|
+
|
|
246
|
+
## Philosophy
|
|
247
|
+
|
|
248
|
+
- **Test-Driven Development** - Write tests first, always
|
|
249
|
+
- **Systematic over ad-hoc** - Process over guessing
|
|
250
|
+
- **Complexity reduction** - Simplicity as primary goal
|
|
251
|
+
- **Evidence over claims** - Verify before declaring success
|
|
252
|
+
|
|
253
|
+
Read [the original release announcement](https://blog.fsck.com/2025/10/09/spark/).
|
|
254
|
+
|
|
255
|
+
## Contributing
|
|
256
|
+
|
|
257
|
+
The general contribution process for SPARK is below. Keep in mind that we don't generally accept contributions of new skills and that any updates to skills must work across all of the coding agents we support.
|
|
258
|
+
|
|
259
|
+
1. Fork the repository
|
|
260
|
+
2. Switch to the 'dev' branch
|
|
261
|
+
3. Create a branch for your work
|
|
262
|
+
4. Follow the `writing-skills` skill for creating and testing new and modified skills
|
|
263
|
+
5. Submit a PR, being sure to fill in the pull request template.
|
|
264
|
+
|
|
265
|
+
Skill-behavior tests use the drill eval harness from [spark-evals](https://github.com/prime-radiant-inc/spark-evals/), cloned into `evals/` — see `evals/README.md` for setup. Plugin-infrastructure tests live at `tests/` and run via the relevant `run-*.sh` or `npm test`.
|
|
266
|
+
|
|
267
|
+
See `skills/writing-skills/SKILL.md` for the complete guide.
|
|
268
|
+
|
|
269
|
+
## Updating
|
|
270
|
+
|
|
271
|
+
SPARK updates are somewhat coding-agent dependent, but are often automatic.
|
|
272
|
+
|
|
273
|
+
## License
|
|
274
|
+
|
|
275
|
+
MIT License - see LICENSE file for details
|
|
276
|
+
|
|
277
|
+
## Community
|
|
278
|
+
|
|
279
|
+
SPARK is built by [Jesse Vincent](https://blog.fsck.com) and contributors.
|
|
280
|
+
|
|
281
|
+
- **Community**: Use the repository issues and discussions for support, questions, and sharing what you're building with SPARK
|
|
282
|
+
- **Issues**: https://github.com/adityaaria/SPARK/issues
|