Borrowing it
Nothing to install: this file belongs to Cratis/VerticalSlices. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Cratis/VerticalSlices/main/.ai/agents/slice-implementer.mdgit clone --depth 1 https://github.com/Cratis/VerticalSlicesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/cratis/verticalslices/slice-implementer)<a href="https://agentmods.dev/agents/cratis/verticalslices/slice-implementer"><img src="https://agentmods.dev/badge/agents/cratis/verticalslices/slice-implementer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/cratis/verticalslices/slice-implementer"><img src="https://agentmods.dev/badge/agents/cratis/verticalslices/slice-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.01007 |
| Opus 5.5 | $0.00024 | $0.00403 |
| Sonnet 5.5 | $0.00012 | $0.00201 |
| Haiku 4.5 | $0.00006 | $0.00101 |
Grade A, and why
Slice Implementer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to Slice Implementer — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Slice Implementer
You implement vertical slices end-to-end. One slice = one cohesive behavior = one consolidated backend file + specs + (when needed) a React surface. You do write code; you also know when to stop and ask.
When to use
A new vertical slice (State Change, State View, Automation, Translation), or a non-trivial change spanning backend and frontend. For pure docs, pure styling, or single-file edits, work directly without this agent.
Source of truth (read before starting; refer throughout)
.ai/rules/general.md— universal rules, layout, gates, authority model..ai/rules/vertical-slices.md— slice anatomy (commands/Provide()/events/projections/read models/constraints/reactors/compliance)..ai/rules/csharp.md,.ai/rules/specs.md— C# style, spec patterns..ai/rules/typescript.md,.ai/rules/react.md,.ai/rules/components.md,.ai/rules/dialogs.md— frontend..ai/skills/event-modeling/SKILL.md— pre-code event vocabulary, flow, contracts, scenarios.
Workflow — phase gates; don't start the next until the current passes
Phase 1 — Plan
For new behavior, unclear event names/stream boundaries, or multi-slice flows, run the event-modeling skill first. Confirm Module/Feature/slice name + type, the behavior in one sentence, whether a UI surface is needed, and the event/read-model/scenario outline. Ask only when a real product/domain choice can't be answered from the repo.
Phase 2 — Backend
Write <Module>/<Feature>/<Slice>/<Slice>.cs with all backend artifacts (declaration order per general.md). Gate: build clean in Debug and Release (zero errors/warnings — Debug validates #if DEBUG spec code and regenerates the TypeScript proxies; build Release with -p:CratisProxiesOutputPath= to skip re-running proxy generation).
Phase 3 — Specs
Mandatory for every slice type. Use the scenario family: CommandScenario<T> (state change), EventScenario (constraints), ReadModelScenario<T> (projections/reducers), ReactorScenario<T> (reactors). Minimum: happy path with each appended event asserted; one spec per validator rule asserting both ShouldNotBeSuccessful() and ShouldHaveValidationErrors(); one spec per constraint. Gate: tests pass.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 54 lines · 59 tokens per session scan A ae39a49311b2
Slice Implementer is an agent published in the GitHub repository Cratis/VerticalSlices (2 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 1,007 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to Slice Implementer, differing in 58 lines, and is treated as a copy.
Slice Implementer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Slice ImplementerCratis/VerticalSlices | Agent | 2 | 2mo ago | MIT | A | 59 | Claude Code |
| Slice ImplementerCratis/AI | Agent | 4 | today | MIT | A | 37 | Claude Code |
| Code ReviewerCratis/AI | Agent | 4 | today | MIT | A | 28 | Claude Code |
| Performance ReviewerCratis/AI | Agent | 4 | today | MIT | A | 24 | Claude Code |
| Security ReviewerCratis/AI | Agent | 4 | today | MIT | A | 22 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |