Getting Started
AI-assisted development
Why Slicekit is a codebase your AI coding assistant can actually work in, and how to get the most from it.
On this page
Why this matters
Coding agents (and new teammates) thrive on structure and fail on surprises. Slicekit is shaped so a model can land working features instead of guessing. None of this is AI-specific magic: the same properties that make the codebase easy for a model make it easy for a human.
What makes it AI-ready
AGENTS.mdrouters. A rootAGENTS.mdpoints to per-side instruction files (api/AGENTS.md,frontend/AGENTS.md) that spell out the conventions for each half. These are read natively by Claude Code, Codex, Copilot, Cursor and others, so an agent loads the right context before it writes a line. Claude Code reads them via theCLAUDE.mdimport at the repo root.- Predictable vertical slices. Every feature has the same shape in the same place. To add one, an agent copies a slice folder and renames it. There is no bespoke wiring to discover and no layer to thread a change through.
- Types as a safety net. Static typing on each side, TypeScript on the SPA and C# on the API, means a wrong guess fails at compile time within that codebase, not in production. The model gets fast, precise feedback instead of silent breakage.
- Tests as guardrails. Architecture tests fail the build when a slice reaches across a boundary, so autonomous edits stay inside the lines you set. Unit and integration tests catch the rest.
- LLM-clean docs. Every docs page is served as raw Markdown at
/docs/<slug>.md(diagrams and components stripped out), so you can paste clean context into a model or pull it into a tool. The whole set is indexed at/llms.txtand concatenated into one file at/llms-full.txt, following the llms.txt convention. - Explicit over clever. Named handlers, obvious folders and no hidden magic. Code is written to be read, by the next engineer or the next agent.
Getting the most from it
- Point your agent at the slice you’re copying. “Add a feature like
Features/ApiKeys/CreateApiKeyfor X” gives a model a concrete, working template to mirror. - Let the build and tests be the loop. Run
dotnet test ... --nologoandpnpm typecheckso the agent’s mistakes surface immediately. - Feed it the raw docs. Link the relevant
/docs/<slug>.mdpages as context rather than pasting rendered HTML, or hand the agent/llms-full.txtfor the whole set at once.
Using these docs with AI
The whole documentation set is published in the llms.txt format so an AI assistant can pull it in as context without scraping rendered HTML:
/llms.txtis a curated index: the site summary plus a linked, sectioned list of every page, each pointing at its clean/docs/<slug>.mdsource. Use it when a tool can follow links, or when you want the model to pick the few pages it needs./llms-full.txtis the entire documentation concatenated into one Markdown file. Use it when you want the model to have everything at once.
How to provide them, depending on the tool:
- Chat assistants (ChatGPT, Claude, Gemini). Paste the URL and ask the model to read it, or
download
llms-full.txtand attach it as a file. A good opener: “Use this as the reference for the Slicekit template:https://slicekit.dev/llms-full.txt.” - Coding agents (Claude Code, Cursor, Copilot, Windsurf). Add the URL to the project’s context or
rules file (for example a
# Docsline inAGENTS.md/CLAUDE.mdpointing at/llms.txt), or savellms-full.txtinto the repo and reference it. Many agents will fetch the linked.mdpages on demand from/llms.txt. - Retrieval / RAG pipelines. Ingest
/llms-full.txt(or crawl the per-page.mdroutes listed in/llms.txt); both are plain Markdown with diagrams and components stripped, so chunking is clean.
Both files are regenerated on every build from the same docs you are reading, so they never drift.
A note on how Slicekit itself is built
Slicekit is built with AI in the loop, but never on autopilot. AI accelerates the typing; the architecture, the boundaries and the review are human, and the same tests above run on every change. That is the standard the template is designed to help you hold, too: AI-accelerated, engineer-owned.