Project Spike
Use this skill only when explicitly invoked as $project-spike. It creates or
updates spike artifacts at docs/spikes/<topic>.md and tracks open/resolved spike
entries in progress.txt.
Core Rules
- Read
progress.txtfresh from disk before acting. - Require a bootstrapped project. If
progress.txtis missing, tell the user to run$projectfirst. - Run research before red-team review in separate Codex sub-agent contexts. Do not silently collapse the research and red-team passes into one local context. If sub-agent delegation is unavailable, stop and tell the user the spike cannot preserve the required adversarial isolation in this environment.
- Preserve original spike findings during follow-up; append dated follow-up entries.
- Ask concise chat questions for user choices; use structured input tools when available.
- Do not invoke the next skill automatically. Recommend the next explicit skill.
- Read all referenced spike workflow files before creating or updating an artifact; they contain required audit-trail and follow-up rules.
Workflow
- Gather the research question and available tooling from the user request or ask concise follow-up questions.
- Read
references/spike-format.mdand generate the topic slug. - If
docs/spikes/<slug>.mdexists, enter follow-up mode; otherwise create a new spike. - Read
references/research-agent.mdfor the research pass andreferences/redteam-agent.mdfor the red-team pass. - Assemble or update the artifact using
references/spike-format.md. - Update
progress.txtusingreferences/progress-format.md. New spikes are[ ]; resolved spikes are[x] ... Resolved: <YYYY-MM-DD>.
Reference Files
references/spike-format.mdreferences/research-agent.mdreferences/redteam-agent.mdreferences/progress-format.md
Completion
Report the spike artifact path, state update, follow-up count if any, and
recommend $project for status.