AGENT SKILL

task-sizer

Use when estimating the size of a task or PR and deciding whether to split it into smaller tickets before implementation.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
task-sizer
triggers
[ "user", "model" ]
description
Use when estimating the size of a task or PR and deciding whether to split it into smaller tickets before implementation.

02 资源文件 1

03 SKILL.md 正文

Task Sizer

Estimates the size of a task or PR and recommends splitting when it exceeds reviewable or safe limits. Keeps changes small, verifiable, and easy to review.

When to use

  • Before implementing a feature or fix.
  • When a task touches multiple files or systems.
  • When the user asks for a large change without a clear breakdown.
  • When the PR size is unknown or likely to exceed limits.

Size limits

Limit Action
~300 lines Target size for a single PR.
~500 lines Split into smaller tickets or vertical slices.
>500 lines Must be decomposed before implementation.

What to estimate

  • Lines of code to be added, modified, or deleted.
  • Files touched - more files = more review surface.
  • System boundaries - crossing API, DB, or auth boundaries increases risk.
  • Test coverage - new code needs tests; tests add to the diff size.

Process

Estimate task size
  → If ~300 lines: proceed as single PR
  → If ~500 lines: split into smaller tickets
  → If >500 lines: decompose before implementing
  → If boundaries unclear: ask for clarification or split by boundary

Example

Task: Add user authentication to the API
Estimate: ~600 lines (middleware, routes, tests, docs)
Decision: Split into 2 tickets:
  - Ticket 1: Auth middleware + tests (~300 lines)
  - Ticket 2: Routes + docs (~300 lines)

Anti-patterns

  • Implementing a >500 line change in one PR.
  • Estimating only the "happy path" and ignoring tests.
  • Splitting by arbitrary file count instead of logical boundaries.
  • Skipping the size check because "it's just a small feature."

Cross-skills

  • planning-pipeline - uses task size to split tickets.
  • implement - enforces the ~300/~500 limits during execution.
  • effort-calibration - larger tasks need higher effort; smaller tasks need less.
  • verification-before-completion - verifies the PR size was respected.
  • adaptive-agenda-calendar-routine-engine - uses these estimates to size calendar blocks and workbench manifest entries (objetivos_secundarios).

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0