Skip to content
Back to skills

Story Sizer

ASecurity

Fibonacci-sizes pasted stories. NOT for mk:jira-estimator.

  • 17 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
ai-agentspythongo

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add ngocsangyem/MeowKit --skill story-sizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Story Sizer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Story Sizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ngocsangyem-story-sizer/badge)](https://www.skillsdirectory.com/skills/ngocsangyem-story-sizer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mk:story-sizer
description: "Fibonacci-sizes pasted stories. NOT for mk:jira-estimator."
argument-hint: '--paste [--scout] [--story <id>] | --paste --auto-create --project <KEY> [--epic <KEY>]'
phase: on-demand
source: local
keywords:
  - story-sizer
  - pre-ticket-sizing
  - story-points
  - spec-to-sprint
  - fibonacci-estimation
  - split-recommendation
  - auto-create-gated
  - estimate
when_to_use: "Draft stories need sizing."
user-invocable: true
context: fork
agent: story-sizer
owner: lifecycle
criticality: medium
status: active
runtime: claude-code
requires_runtime: [python>=3.9]
---

# mk:story-sizer

> Script paths in this skill's other files (references, steps) are relative to this skill's directory, `${CLAUDE_SKILL_DIR}`. Prefix them with `${CLAUDE_SKILL_DIR}/` before running them; do not run them from the project root.

Forks to the `story-sizer` agent (system prompt at `.claude/agents/story-sizer.md`). Paste mode only: the user provides a markdown block of stories, the agent applies heuristics, and a Story Sizing Report is written to `tasks/reports/story-sizing-{YYMMDD}-{slug}.md`. No Jira side effects in default mode.

## Triggers

- "size these stories"
- "rough-size from spec"
- "pre-ticket sizing for these user stories"
- "Fibonacci size this story list"
- "story points for these candidates before we create tickets"

## Commands

| Mode        | Invocation                                                             | Side effects                                                              |
| ----------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| Default     | `/mk:story-sizer --paste [--scout] [--story <id>]`                     | Writes Story Sizing Report only. No Jira calls.                           |
| Auto-create | `/mk:story-sizer --paste --auto-create --project <KEY> [--epic <KEY>]` | After dry-run + single confirmation, delegates ticket creation per story. |

## Input

Paste-mode contract: see `references/input-adapter.md` for the strict markdown template, `StoryRecord` schema, validation rules, and failure modes. The parser is `scripts/parse-paste-stories.py` (deterministic; SHA-256 source-hash recorded for the auto-create source-consistency check).

## Heuristics

Fibonacci sizing rules: see `references/sizing-heuristics.md` for complexity dimensions, scoring tables, inconsistency detection, split-proposal triggers, and DoR advisory. Scorer is `scripts/score-story.py` (integer-arithmetic over text-derived counts; same input → same numeric output).

## Output

Report template + slot semantics: `references/report-writer.md`. Renderer is `scripts/write-sizing-report.py`. Default path: `tasks/reports/story-sizing-{YYMMDD}-{slug}.md`. Idempotency by `source_hash` — repeated runs on the identical paste body re-prompt before overwriting.

Per-story suggested create commands obey a field whitelist: `--project`, `--type`, `--summary`, `--story-points`, `--description`, optional `--epic`, `--components`, `--labels`. No `--assignee`, `--priority`, `--sprint`, `--blocks`, or `--custom-fields`.

## Orchestration

End-to-end default flow + `--scout` extract-or-prompt pattern + filtering rules: `references/orchestration.md`. Story-sizer NEVER auto-invokes `/mk:scout` — it extracts existing session output or prompts the user to run scout first.

## Auto-create (opt-in)

`--auto-create --project <KEY> [--epic <KEY>]` runs 5 pre-flight checks (NO_ACS, Rule-1 injection, length cap, duplicate suspect via `mk:jira-search`, source-hash mismatch). If all pass, a markdown dry-run table renders + a single user question gate decides ship-or-abort. Gating rules: `references/auto-create-gating.md`. Rule-1 inventory copy: `references/injection-patterns.md`. Gating check: `scripts/check-auto-create-gating.py`.

## See also

- Agent: `../../agents/story-sizer.md`
- Peer intelligence: `mk:jira-evaluator` (post-ticket complexity), `mk:jira-estimator` (post-ticket estimation), `mk:planning-engine` (sprint capacity)
- Peer execution (delegated): `mk:jira-issue` (create), `mk:jira-collaborate` (audit comment, visibility-restricted)

## Gotchas

- The `source_hash` recorded in the report header is the SHA-256 of the _exact_ paste body. If you edit the paste locally between sizing and `--auto-create`, the source-consistency check will ABORT — re-paste the modified body and re-run `--paste` to regenerate the report.
- `--scout` does not auto-invoke `/mk:scout`. Run `/mk:scout` first when you want codebase signals; otherwise the report carries `[NO_CODEBASE_CONTEXT]`.
- DoR advisory only appears when `mk:agent-detector` loaded `.claude/skills/agent-detector/references/agile-story-gates.md` for the current session.

Files in this skill

  • SKILL.md5 KB
  • assets/sizing-report-template.md2.3 KB
  • references/auto-create-execution.md5 KB
  • references/auto-create-gating.md5 KB
  • references/injection-patterns.md2.1 KB
  • references/input-adapter.md3.9 KB
  • references/orchestration.md3.3 KB
  • references/report-writer.md3 KB
  • references/sizing-heuristics.md6.4 KB
  • scripts/check-auto-create-gating.py8.4 KB
  • scripts/execute-auto-create.py10.5 KB
  • scripts/parse-paste-stories.py6.3 KB
  • scripts/score-story.py10.7 KB
  • scripts/write-sizing-report.py9.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.