pareto
Processes the user's request through the Pareto Principle. It ranks the causes that generate most of the outcome, spends roughly a fifth of the effort on the interventions that address them, and reports what that effort bought. This skill is user-only: it runs only when the user invokes /pareto [request]. When the user wants the highest-leverage slice of a large task, asks "what matters most here", wants to cut scope to what moves the needle, or wants an 80/20 pass over analysis, planning, test coverage, refactoring, or cleanup, suggest this command. Do not use it for work whose value depends on being complete, such as a security fix, a compliance change, a migration, or a specific reported bug.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- pareto
- description
- Processes the user's request through the Pareto Principle. It ranks the causes that generate most of the outcome, spends roughly a fifth of the effort on the interventions that address them, and reports what that effort bought. This skill is user-only: it runs only when the user invokes /pareto [request]. When the user wants the highest-leverage slice of a large task, asks "what matters most here", wants to cut scope to what moves the needle, or wants an 80/20 pass over analysis, planning, test coverage, refactoring, or cleanup, suggest this command. Do not use it for work whose value depends on being complete, such as a security fix, a compliance change, a migration, or a specific reported bug.
- argument-hint
- [request to process]
- disable-model-invocation
- true
03 SKILL.md 正文
Pareto
A small subset of causes produces most of the outcome. Find that subset, spend about a fifth of the effort against it, and show the cut, so the user can argue with it.
Estimate roughly throughout. "80/20" is shorthand for "expect lumpiness", and not a ratio to hit. The two percentages do not have to pair, so a fifth of the effort can buy 95% of the outcome, or 40%. A rough ranking that costs minutes beats a precise one that eats the budget it was meant to allocate.
When this is the wrong tool
Some work is worth doing only in full: a security fix, a compliance change, a migration, or a specific reported bug. 80% of a data migration is a corrupted database. Say that the request is not a Pareto candidate, then do the work in full, or ask the user.
When you decline the framing, decline its shape too. Give a checklist to finish, and not a ranked list that the reader can stop partway down. On completeness-critical work, the skipped item is the one that matters.
Skip the ceremony entirely on anything small enough that ranking it costs more than it saves.
Stage 1: rank the causes
Rank causes, and not tasks. Work items sorted by payoff are only a to-do list. Asking "what is generating most of this?" is what finds the one confused module behind eight scattered bug reports. Weight the causes by cost or severity rather than by raw counts, so that a rare catastrophe does not sit buried under a constant nuisance.
Rank on effect size alone. What a fix costs plays no part yet. When "that is expensive" suppresses a cause here, it buries the finding that the user most needs. This stage produces a ranking, and not a shortlist, so that stage 2 can still reach into the tail.
Use whatever signal is already visible: error rates, coverage gaps, file churn, or the shape of the request. When no signal exists, rank from priors, and label that in a clause. An unlabeled guess reads as measurement.
When the causes are evenly spread, say so before you spend anything. Five independent bug fixes are five bug fixes. Name the flatness, and let the user choose between funding the whole job and taking an arbitrary slice.
Stage 2: spend a fifth of the effort
Cost the interventions against the top causes. Work down by outcome per unit of effort, until you have spent roughly a fifth of the effort of the full job, then stop. Effort is the budget, and outcome is what you observe and report. The reverse rule, which is to keep going until most of the outcome is covered, authorizes spending whatever it takes.
Both stages earn their place. Ranking causes while you ignore cost recommends a rewrite every time. Ranking interventions without first finding the causes drifts to cheap triviality, which is eight one-line fixes that leave the generator untouched.
Spend the budget on the work, and not on deciding what the work is. The deliverable is the change that the user asked for. Buy measurement only when it is cheap and decisive. That means a check that redirects the whole effort, and not a survey that produces a plan. When the honest answer is that the budget buys diagnosis and no improvement, say so plainly as a trade-off. Do not hand over an investigation as though it were the work.
An unaffordable root cause is a finding, and not a skip. When the biggest cause needs work that swamps the budget, name it with its price. Write it as "Most of these failures trace to the retry logic, and fixing it properly is about three days". That is the one thing that the user cannot get from the diff.
Sweep up the near-free wins from the tail while you are in there. Keep them incidental to the vital few, and do not let them become the work.
Correctness is not optional weight. A slice that leaves the build broken, or a migration half-applied, has negative value, so whatever keeps the work coherent belongs inside the budget.
Two shapes of request
Analysis, planning, and review: the budget caps the depth of the investigation. Lead with the top causes at full depth, compress the tail, and name what you did not examine. An analysis that hides its own shallowness is worse than a slower one.
Actual work, such as coverage, refactoring, cleanup, and fixes: the budget caps the changes you make. Do the subset, leave the rest untouched rather than half-applied, and report the line that you drew.
Report the cut
Write a few sentences, and not a section per bullet:
- The vital few causes, and how you ranked them.
- What the budget bought: the rough share of effort spent against the rough share of outcome gained, reported as observations rather than as the prediction of the principle. Skip any number that you cannot estimate honestly.
- What is left, grouped, with minor items separated from unaffordable ones. The second group is the user's next funding decision.
04 同仓库更多 Skills
work-item
Drafts a well-formed work item with testable acceptance criteria, then creates it in whatever tracker is connected, when the user asks for that explicitly. Applies the same standard to tighten an existing work item. Use when the user invokes /work-item, or asks to draft, write up, create, or fix up a ticket, issue, task, story, bug report, or sub-task, for Jira, GitHub, Azure DevOps, Linear, or any other tracker. Use it even when the user names no tracker and never says "ticket", as in "log a bug for...", "file an issue about...", "write up a task for...", "can you create a story for...", and "this ticket has no acceptance criteria, can you add some". Do NOT use it for general prose writing, a PR description, or a commit message, because those follow different conventions.
triage-work-item
Triages a tracker work item, which is a bug, a task, or a story, end-to-end against the codebase. It reads the item with its full comment thread, links, and parent epic, cross-references related items, investigates the codebases behind the affected feature, corroborates with attached evidence and observability data, then posts a verified analysis comment back to the item. That comment gives the root cause for a bug, or the current behavior, the approach, and the effort for a change request. Ships with Jira and GitHub Issues tracker adapters, plus Grafana and CloudWatch observability adapters, and degrades to any reachable platform. Use when the user gives a work-item URL or key, on Jira (`…atlassian.net/browse/KEY`) or GitHub (`github.com/<o>/<r>/issues/<n>`), and asks to triage, investigate, diagnose, or root-cause it, even without the word "triage", as in "look into TICKET-123 and post what you find". Do not use it to read or summarize a work item with no code investigation, or to write new work items.
update-branch
Brings a branch up to date with its base branch, usually main. It rebases onto origin/<base>, or merges when the user agrees, then builds and runs the relevant tests. It pushes on its own when the risk is low, and asks first, with the reason, when it is not. It never uses a plain --force, and it never disturbs uncommitted work: a clone on another branch gets a separate git worktree. This skill is user-only: it runs only when the user invokes /update-branch [branch] [--base <branch>] [merge]. When the user wants to update a branch with main, rebase onto main, or fix "branch is behind main", suggest this command.
standard-first
Guides technical implementation to always prefer the standard, officially-documented solution over custom or AI-generated code. Use when you are about to write new code for a feature, suggest or add a library or package, scaffold a new project, or configure a framework, in any language, including .NET and C#, Node.js and npm, Python, Go, Java, and the rest. Use it above all when the problem sounds like something that a built-in framework feature or a package registry already solves, such as logging enrichment, auth, serialization, retries, health checks, or migrations. Do not skip this skill because the answer feels obvious from training data.
team-topologies
Knowledge base for Team Topologies concepts — the framework for organizing business and technology teams for fast flow. Use this skill whenever the user asks about: team types (stream-aligned, platform, enabling, complicated subsystem), team interaction modes (collaboration, X-as-a-Service, facilitation), cognitive load management, Thinnest Viable Platform (TVP), Conway's Law in relation to org design, or any question about how software delivery teams should be structured, named, or coordinated. Also use when another skill needs Team Topologies vocabulary to reason about org design, team responsibilities, or team dependencies.
log-decision
Drafts a structured document, called a DR, that captures the reasoning behind a significant decision. Use when the user invokes /log-decision. Use it also when the conversation reaches a decision about architectural trade-offs or technology choices, or reaches anything the user calls "hard to reverse", "locked in", or "a big commitment". In those cases, suggest a DR without waiting to be asked.