Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamza-ali-shahjahan/hamzaish --skill feature-slicinggit clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaishWrote 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/skills/hamza-ali-shahjahan/hamzaish/feature-slicing)<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/feature-slicing"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/feature-slicing/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/skills/hamza-ali-shahjahan/hamzaish/feature-slicing"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/feature-slicing.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.00065 | $0.00952 |
| Opus 5.5 | $0.00026 | $0.00381 |
| Sonnet 5.5 | $0.00013 | $0.00190 |
| Haiku 4.5 | $0.00006 | $0.00095 |
Grade A, and why
feature-slicing 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/feature-slicing
Usage: /feature-slicing <the goal, or what "done" looks like>
A feature you can't evaluate is a guess. A feature you can't test end-to-end is a hope. This skill turns a goal into a short list of vertical slices — each a thin, shippable piece of the goal — and keeps only the slices that come with a way to prove them. It runs after the goal is pinned (/write-a-goal, or a one-line acceptance) and before /spec, so the spec describes provable features, not a wishlist.
The rule
If you can't name the eval and the end-to-end test for a slice, it doesn't get built yet.
That's the whole discipline. A slice with no eval is either too vague (sharpen it) or not actually part of the goal (drop it). The selection gate is provability, not enthusiasm.
The method
- Cut vertically, not by layer. A slice is a thin end-to-end thing a user can actually do — not "the database layer." Aim for the smallest slice that moves the goal's metric.
- For each candidate slice, write three things up front:
- Eval — the measurable check that says this slice meets its bar. Tie it to the goal's metric where you can (reuse the numbers from
/write-a-goal). Deterministic where possible; an LLM-judge rubric only when the output is genuinely subjective. This is the eval the build is written against, and it joins the project's eval harness. - End-to-end test — the real user journey that proves it works in the running app, start to finish (not a unit test of one function). For UI, a browser path; for an API, a request→response contract.
- Tracking — how we'll see real users use it: for a new screen/tab/mode, a virtual
page_viewpath; for a new interaction, an event name + low-cardinality params; or an explicit "not worth tracking — <why>". Deciding is mandatory, tracking isn't — but a slice whose usage question ("did anyone touch this?") has no answer planned is instrumentation debt the founder pays later (see/user-analyticsRecipe F). "Events fire" joins the slice's e2e check.
- Eval — the measurable check that says this slice meets its bar. Tie it to the goal's metric where you can (reuse the numbers from
- Apply the selection gate. Keep a slice only if both the eval and the e2e test are defined and runnable. If either is missing: sharpen the slice until they exist, or defer it (write down why) — don't smuggle an unprovable feature into the spec.
- Order by risk-and-value. Sequence the kept slices riskiest/highest-value first, so the goal's metric moves early and a dead end is found cheap.
- Hand off. Output the selected slices, each with its eval + e2e test, as the input to
/spec→/plan. In the per-task loop, the eval and e2e test are written first (TDD) and are the slice's acceptance gate.
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 · 45 lines · 65 tokens per session scan A 7b783ef20c0c
feature-slicing is a skill published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 952 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
feature-slicing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-slicinghamza-ali-shahjahan/hamzaish | Skill | 11 | 1mo ago | MIT | A | 65 | Claude Code, Codex |
| eval-dataset-designbojieli/ai-agent-book | Skill | 61k | 2d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| verify-omnigentomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 13k | 2d ago | MIT | A | 104 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | 6d ago | MIT | A | 68 | Claude Code, Codex |
| test-generatorrshankras/claude-code-apple-skills | Skill | 924 | 24d ago | MIT | A | 33 | Claude Code |