Agent skill

Classify Size

by genkovich in genkovich/sdd

A skill your agent uses to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how…

MITAuto-check passed

Install Classify Size

skills CLI
$ npx skills add genkovich/sdd --skill classify-size -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install genkovich/sdd classify-size --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/genkovich/sdd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/classify-size .claude/skills/classify-size && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
classify-size
GitHub stars
171
Token cost
~1.8k tokens
SKILL.md length
828 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how…

  • Works in 8 steps: Check existing. test -f… → Ask the four signals — one… → Map to a class using the table in… → …
  • /sdd:classify-size {slug}
  • SKILL.md covers Owner, Inputs, Protocol and Definition of Done, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Classify Size is an agent skill from genkovich/sdd. Use to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how much of each artifact to produce and how handoffs resolve skips. Triggers on "classify size", "feature size", "is this XS or M for {slug}", "size {slug}", "change route", "/sdd:classify-size {slug}", "класифікуй розмір {slug}", "який розмір фічі", "XS чи M". Asks four AskUserQuestion (PR count / time / new module-API-migration / breaking…

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Spec-Driven Development for Claude Code: 12 atomic Socratic skills + a TDD implement engine (agent-team & dynamic-workflow modes). The licence is MIT.

When your agent uses it

  • /sdd:classify-size {slug}
  • Класифікуй розмір {slug}
  • Який розмір фічі

Example prompts

  • “classify size”
  • “feature size”
  • “is this XS or M for {slug}”
  • “/classify-size”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Check existing. test -f docs/features//.size (and .route). If .size exists, read both values and ask «.size is currently (route )…
  2. Ask the four signals — one AskUserQuestion each, phrased per ../_shared/ask-style.md
  3. Map to a class using the table in ../_shared/size-matrix.md. On an edge case, name the dominant signal aloud («M because it adds a new API…
  4. Confirm size + route — ONE question. Derive the default route from the size (XS/S → quick, M → standard, L/XL → full — the Routes table in…
  5. Write .size + .route. Each one line, plain text — .size only XS/S/M/L/XL; .route only quick/standard/full — no comments, no frontmatter…
  6. Re-sync the frontmatter mirrors (.size is the source of truth). feature_size: lives in up to three places: the .size file (canonical) plus…
  7. Structural self-check — per ../_shared/self-check.md: re-read the written files from disk and verify 3 items: (1) .size holds exactly one…
  8. Propose commit + handoff. size: classified as (route ) (or fold into the intake commit if a wrapper called this). Then emit the…

What it can do on your machine

Read from SKILL.md and the folder at commit 4403913. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Classify Size loads about 1.8k tokens when it runs. Until then it costs about 218 tokens; SKILL.md has 828 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~218
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from genkovich/sdd at commit 4403913, republished under its MIT licence (© genkovich). 828 words, ~1,808 tokens.

Download SKILL.mdSave it as .claude/skills/classify-size/SKILL.md (or your agent's skills folder).
name
classify-size
description
Use to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how much of each artifact to produce and how handoffs resolve skips. Triggers on "classify size", "feature size", "is this XS or M for {slug}", "size {slug}", "change route", "/sdd:classify-size {slug}", "класифікуй розмір {slug}", "який розмір фічі", "XS чи M". Asks four AskUserQuestion (PR count / time / new module-API-migration / breaking changes), maps to a size class via the shared size matrix, derives the default route (XS/S→quick, M→standard, L/XL→full), confirms size + route in ONE question, and writes the one-line .size and .route files — the source of truth; the feature_size: frontmatter mirrors in spec.md and sad.md are re-synced to it on every (re)classification.
model
haiku
effort
low

Skill: classify-size

Atomic skill — classifies a feature into XS/S/M/L/XL and fixes the result in docs/features/<slug>/.size, plus the pipeline route (quick / standard / full) in docs/features/<slug>/.route. This is the single source of size- and route-aware behaviour for the rest of the pipeline: later skills read .size to decide MVP vs Full output depth, and their handoffs read .route to decide how optional-stage skips resolve (auto-skip / offered / never — the Routes table in ../_shared/size-matrix.md).

This skill is the canonical owner of the size matrix → ../_shared/size-matrix.md. The classification rules, the MVP-vs-Full table, and the one-sentence rule all live there; this skill only runs the dialogue and writes the file.

Called inline by specify. When .size is absent at the start of the backbone, specify step 1 runs this protocol inline (same signals, same file, folded into one bundled question) — this skill stays the standalone utility for classifying up front or re-classifying when scope changes; the protocol is never duplicated elsewhere.

Owner

PM or Tech Lead (driver of the intake phase). An architect may escalate S → M on spotting a new subsystem.

Inputs

  • <slug> — feature slug.
  • (Optional) the idea / intake note — for a rough starting hint. The skill works without it.

Protocol

  1. Check existing. test -f docs/features/<slug>/.size (and .route). If .size exists, read both values and ask «.size is currently <X> (route <Y>). Reclassify?». On «no» — STOP (suggest editing, don't overwrite silently). Re-running just to switch the route is a legal, common case — mid-flight override per the Routes table.
  2. Ask the four signals — one AskUserQuestion each, phrased per ../_shared/ask-style.md:
    • PR count — 1 / 2–5 / 5–15 / 15+.
    • Time to merge the main part — ≤1 day / ~1 week / 1–2 sprints / >1 month.
    • New module / new API / DB migration — none / one of three / two of three / all three.
    • Breaking changes for consumers — no / internal only / public clients.
  3. Map to a class using the table in ../_shared/size-matrix.md. On an edge case, name the dominant signal aloud («M because it adds a new API + 1–2 sprints, even though PR count is on the S/M border»). For an all-maximums answer, ask explicitly «needs a separate roadmap?» → yes = XL.
  4. Confirm size + route — ONE question. Derive the default route from the size (XS/S → quick, M → standard, L/XL → full — the Routes table in ../_shared/size-matrix.md). Then one AskUserQuestion: «Classifying as <size> (<one-line rationale>) → route <route> (<one-line what the route does>). Lock both in?» — options: Yes / Yes, but route <other> / No, I want size <X> / Reclassify. Never a second question just for the route.
  5. Write .size + .route. Each one line, plain text — .size only XS/S/M/L/XL; .route only quick/standard/full — no comments, no frontmatter. docs/features/<slug>/.size, docs/features/<slug>/.route.
  6. Re-sync the frontmatter mirrors (.size is the source of truth). feature_size: lives in up to three places: the .size file (canonical) plus the spec.md and sad.md frontmatter (human-readable mirrors). For each of the two files that exists: same value → OK; different (a reclassification, or a hand-edited mirror) → update the frontmatter to the new .size value and say so — never leave a mirror stale; missing field → suggest adding feature_size: <size>. If the user insists a mirror is the right value, that's a reclassification — loop back to step 4 and re-confirm, then re-sync.
  7. Structural self-check — per ../_shared/self-check.md: re-read the written files from disk and verify 3 items: (1) .size holds exactly one of {XS, S, M, L, XL} (one bare word, no trailing content); (2) .route holds exactly one of {quick, standard, full}; (3) both frontmatter mirrors (feature_size: in spec.md and sad.md, for whichever exists) match .size. Fix + re-check ≤2 cycles; surface anything unresolved.
  8. Propose commit + handoff. size: <slug> classified as <size> (route <route>) (or fold into the intake commit if a wrapper called this). Then emit the stage-handoff block per ../_shared/handoff.md (utility variant) — What I did (incl. «self-check: 3/3 pass») + Review (.size, .route) + Run next: resume your backbone stage (e.g. /sdd:specify <slug>); /clear optional.
Show full SKILL.md (191 more words)Show less

Definition of Done

  • docs/features/<slug>/.size holds exactly one of XS/S/M/L/XL; docs/features/<slug>/.route holds exactly one of quick/standard/full.
  • The user confirmed the classification — size AND route in one question (never silent, never two questions).
  • If spec.md / sad.md exist, their feature_size: mirrors match .size (no drift; .size is the source of truth).

Anti-patterns

  • Self-classify without confirmation. The skill proposes; the user locks it.
  • Optimistic «it's probably S». Run the four questions — a week later the skipped design hurts.
  • Skipping the module/API/migration and breaking-change questions. They are what separates S from M.
  • Overwriting an existing .size / .route without asking.
  • A multi-line .size / .route with comments. Wrappers grep them cheaply — keep each one bare word.
  • A second question just for the route. Size + route confirm together; the route option rides in the same AskUserQuestion.

Example invocation

User: «classify size rate-limiting-per-user» Skill: .size absent → asks the four questions (2–5 PR, ~1 week, one of three — new API, internal only) → maps to S → default route quick → confirms both in one question (rationale: one API endpoint + ~1 week + internal breaking) → writes docs/features/rate-limiting-per-user/.size = S and .route = quick → spec.md not yet written, skip sync → commit size: rate-limiting-per-user classified as S (route quick).

© genkovich, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/classify-size of genkovich/sdd.

Open the folder on GitHubat commit 4403913

Compare with similar skills

Classify Size next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Classify Size compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Classify Size this skillgenkovich/sdd171—~1.8kAutomated safety check: PassMIT
Responsive Sizethedaviddias/Front-End-Checklist74k—~805Automated safety check: PassMIT
Dom Sizethedaviddias/Front-End-Checklist74k—~390Automated safety check: PassMIT
Font Sizethedaviddias/Front-End-Checklist74k—~896Automated safety check: PassMIT
Sizingalsk1992/CloddsBot2.9k—~1.4kAutomated safety check: PassMIT
Market Sizing Analysiswshobson/agents40k1 repos~620Automated safety check: PassMIT

Similar skills

  • Responsive Size

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing image assets, markup, and CDN or build transforms related to Serve images at the correct display size.

    74k GitHub stars~805 tokensUpdated 2 days ago
    Auto-check passed
  • Dom Size

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Reduce DOM size and complexity.

    74k GitHub stars~390 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Font Size

    thedaviddias/Front-End-Checklist

    A skill your agent uses when applies to all CSS font-size declarations, particularly those using px units for body text, UI labels, and navigation.

    74k GitHub stars~896 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Sizing

    alsk1992/CloddsBot

    Position sizing with Kelly criterion and bankroll management

    2.9k GitHub stars~1.4k tokensUpdated 6 days ago
    Auto-check passed
  • Market Sizing Analysis

    wshobson/agents

    Calculate TAM/SAM/SOM for market opportunities using top-down, bottom-up, and value theory methodologies.

    40k GitHub starsUsed in 1 repo~620 tokens
    Product & Project ManagementAuto-check passed
  • CSS File Size

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Optimize CSS file size.

    74k GitHub stars~399 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from genkovich/sdd

All 21 skills in this repo
  • Fix

    genkovich/sdd

    A skill your agent uses to fix a reported bug spec-first: reproduce it, trace the symptom to the owning feature's acceptance criteria, pin it with a failing (RED) test, apply the minimal GREEN fix…

    171 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Implement

    genkovich/sdd

    A skill your agent uses to implement a feature from its tasks.json with test-driven development — writes a failing test first, makes it pass, refactors, gates, and commits per task.

    171 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Interview

    genkovich/sdd

    Use BEFORE roadmap or specify to get the idea OUT OF YOUR HEAD and onto disk — a Socratic interview that surfaces hidden assumptions, names tradeoffs, exposes imprecisions and proposes fresh angles…

    171 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Decide Adr

    genkovich/sdd

    A skill your agent uses to record a post-hoc or asynchronous architecture decision as a MADR ADR when it was NOT captured during the synchronous design pass — a choice made in code, in a chat, on a…

    171 GitHub stars~2.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Tasks

    genkovich/sdd

    A skill your agent uses to break a designed feature into atomic, ≤1-day tasks with a dependency graph, a per-task Definition of Done, and a machine-readable tasks.json that the implement engine…

    171 GitHub stars~4.8k tokensUpdated 1 mo ago
    Auto-check passed
  • API

    genkovich/sdd

    A skill your agent uses to derive the API contract for a feature — an OpenAPI 3.1 document at docs/features/{slug}/contracts/openapi.yaml plus a drift/sync report (and an events doc when the feature…

    171 GitHub stars~4.3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Classify Size

What does Classify Size do?

A skill your agent uses to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route docs/features/{slug}/.route (quick|standard|full) so later skills know how…. Classify Size is an agent skill from genkovich/sdd.route (quick|standard|full) so later skills know how much of each artifact to produce and how handoffs resolve skips.

When should I use Classify Size?

Classify Size fits situations like: /sdd:classify-size {slug}; Класифікуй розмір {slug}; Який розмір фічі.

How do I install Classify Size in Claude Code?

Run `npx skills add genkovich/sdd --skill classify-size -a claude-code`. Or copy the skill folder (skills/classify-size in genkovich/sdd) into .claude/skills/classify-size in your project. Claude Code loads it when a task matches its description.

How do I install Classify Size in Codex?

Run `npx skills add genkovich/sdd --skill classify-size -a codex`. Or copy the skill folder (skills/classify-size in genkovich/sdd) into .agents/skills/classify-size in your project. Codex loads it when a task matches its description.

Can I use Classify Size in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add genkovich/sdd --skill classify-size -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/classify-size, .gemini/skills/classify-size, .github/skills/classify-size and .opencode/skills/classify-size in your project.

What does Classify Size need to run?

SKILL.md names no scripts, command-line tools or credentials: Classify Size is instructions for the agent only.

Does Classify Size access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Classify Size safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Classify Size use?

Classify Size is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Classify Size use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Classify Size?

Skills that share tags, products or a category with Classify Size: Responsive Size (thedaviddias/Front-End-Checklist, 74k stars), Dom Size (thedaviddias/Front-End-Checklist, 74k stars), Font Size (thedaviddias/Front-End-Checklist, 74k stars) and Sizing (alsk1992/CloddsBot, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Classify Size?

genkovich (a GitHub user) maintains it in genkovich/sdd, which has 171 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 5, 2026.

Source: genkovich/sdd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.