These playbooks are for CoreStory v3: the desktop app, or a project ingested with v3. For other CoreStory projects, use the Playbooks section.
What a v3 skill is
A skill is a folder with aSKILL.md file that an agent loads when the task matches. Every v3 skill follows the same pattern:
- Preflight first. It calls
statusandcorpus_info. If the repository is not indexed, or the last ingest failed, it stops and relays the next step. It never runsinitoringestwithout your explicit OK. - Rules are leads until checked. It reads the cited source lines before relying on a rule, and cites only lines it read.
- Output goes to a file in your repository, such as
BUG-NOTES.mdorRULES.md, not to the chat. Each file ends with aNot verifiedsection. - CoreStory does not run code. It reads and indexes it. Any test results come from commands the agent ran.
Install CoreStory v3
1
Download the command-line tool
Get the
corestory command-line tool from get.corestory.ai. Builds are published for macOS (Apple silicon), Linux (x64) and Windows (x64). Put corestory on your PATH and check it with corestory --version.2
Run setup yourself
Run
corestory setup in your own terminal. It is interactive: you accept the Terms of Use and Privacy Policy, choose your telemetry setting, and add a model key (OpenAI, Azure OpenAI or Anthropic). An agent should never do this for you, and other commands refuse to run until setup is done.3
Index the repository
From the repository folder, run
corestory init and then corestory ingest. Ingest calls your model provider and can cost money, so run it yourself. Add .corestory/ to your .gitignore.4
Connect your agent
corestory mcp is a stdio MCP server for the repository it is started in. It takes no path argument, so it must start from the repository folder. See the options below.Connect your agent
- Claude Code plugin
- GitHub Copilot
- Cursor
- Codex
corestory mcp in the folder Claude Code is working in, and installs the skills and the session hook described below.How the agent finds the skills
Agents use the skills far more reliably when pointed to them than when left to discover them.- Claude Code plugin. The plugin ships a
SessionStarthook that adds one line to the agent’s context, pointing it to the CoreStory skills for code changes and codebase questions. - Everywhere else. Put the same line in
CLAUDE.mdorAGENTS.md:
Playbooks
AI-assisted development
Using CoreStory v3
Answer questions about code with cited evidence, and learn the tools and their limits.
Bug Resolution
Find a root cause, fix it test-first, and check rules enforced in other layers.
Feature Implementation
Build a change test-first with the rules a ticket never mentions found up front.
Spec-Driven Development
Write a delta spec grounded in existing rules before coding.
Constraint Tickets
Turn a request into one-constraint tickets and an optional completion hook.
CoreStory v3 with Jira
Work a Jira ticket against the code through a Jira MCP server.
Compare with Source
Audit a CoreStory answer against source and record the differences.
Testing and verification
Test Router
Choose between behavioral and end-to-end tests.
Behavioral Tests
Rule-grounded unit and integration tests with a coverage map.
End-to-End Tests
Journey tests traced from code and verified rules.
Analysis
Business Rules Extraction
A rules inventory where each entry was read back against source.
Feature Gap Analysis
What exists, what is missing, and the order of work before building.
Codebase Assessment
Readiness and risk by area for a legacy system.
M&A Technical Due Diligence
A code-grounded risk review of an acquisition target.
Modernization
Modernization runs as phases, one per session, with human approval between them. State lives inmodernization/ files in your repository, described on the Code Modernization page.
Code Modernization
The router, and the phase-file convention the others use.
Target Architecture
Strategy options and trade-offs, with the decision left to a person.
Decomposition and Sequencing
Dependency-ordered work packages.
Monolith to Microservices
Design one strangler-fig service extraction.
Behavioral Verification
Rule-by-rule comparison of legacy and modernized code.
Vibe Modernization
Agent-led, human-gated migration with an independent audit.
Vibe Conformance Audit
A read-only audit of delivered code at the grain of single behaviors.