> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corestory.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CoreStory Documentation

> CoreStory is a code intelligence platform that uses AI to reverse-engineer specifications from source code. Explore guides, playbooks, and integrations to make any codebase queryable by humans and AI agents.

**CoreStory turns your source code into a queryable specification.** It creates a persistent intelligence layer over your codebase — architecture, business rules, data flows, dependencies — that humans and AI agents can both query. The result: faster onboarding, grounded AI development, de-risked modernization, and audit-ready specifications for any system.

## Start Here

<CardGroup cols={2}>
  <Card title="What is CoreStory?" icon="lightbulb" href="/about/what-is-corestory">
    A platform overview — what CoreStory does and why it matters.
  </Card>

  <Card title="Getting Started" icon="rocket" href="/getting-started/getting-started">
    Create an account, upload your first codebase, and start querying.
  </Card>

  <Card title="Supercharging AI Agents" icon="robot" href="/getting-started/supercharging-ai-agents">
    Connect Claude, Cursor, Copilot, Devin, and other agents to CoreStory via MCP.
  </Card>

  <Card title="MCP Server Setup" icon="plug" href="/getting-started/mcp-server-setup">
    Step-by-step configuration for the CoreStory MCP server.
  </Card>
</CardGroup>

## Playbooks

Structured, end-to-end workflows for the work software teams keep getting stuck on. Each playbook combines CoreStory's persistent code intelligence with AI agents and proven engineering methodology.

<CardGroup cols={3}>
  <Card title="Code Modernization" icon="arrows-rotate" href="/playbooks/code-modernization">
    Phased methodology for modernizing legacy systems.
  </Card>

  <Card title="Agentic Bug Resolution" icon="bug" href="/playbooks/agentic-bug-resolution">
    Diagnose and fix bugs with AI agents grounded in your code.
  </Card>

  <Card title="Feature Implementation" icon="code-branch" href="/playbooks/feature-implementation">
    Implement features with AI agents that understand your system.
  </Card>

  <Card title="Spec-Driven Development" icon="file-lines" href="/playbooks/spec-driven-development">
    Generate grounded specs before changing code.
  </Card>

  <Card title="M&A Technical Due Diligence" icon="briefcase" href="/playbooks/ma-technical-due-diligence">
    Evaluate acquisition targets' codebases for risk and debt.
  </Card>

  <Card title="Business Rules Extraction" icon="scroll" href="/playbooks/business-rules-extraction">
    Catalog and verify business rules embedded in code.
  </Card>

  <Card title="Spec-Driven Test Generation" icon="vial" href="/playbooks/spec-driven-test-generation">
    Generate behavioral and end-to-end tests from your codebase.
  </Card>

  <Card title="Using CoreStory with Jira" icon="diagram-project" href="/playbooks/using-corestory-with-jira">
    Push migration work packages into Jira as epics and stories.
  </Card>

  <Card title="Feature Gap Analysis" icon="magnifying-glass-chart" href="/playbooks/feature-gap-analysis">
    Compare two systems' capabilities — useful for SaaS migrations.
  </Card>
</CardGroup>

## Product

<CardGroup cols={2}>
  <Card title="Chat with Your Code" icon="comments" href="/product/chat-with-your-code">
    Natural language queries over your entire codebase, grounded in CoreStory's persistent intelligence.
  </Card>

  <Card title="Generated Spec Documents" icon="folder-open" href="/product/core-documents/executive-summary">
    Executive summaries, user stories, data models, API specs, and integration maps — auto-generated from source code.
  </Card>
</CardGroup>

## Who It's For

CoreStory serves developers, architects, product managers, and business stakeholders working with complex or legacy codebases. [See the full breakdown by role and use case →](/about/who-is-corestory-for)
