/trust-ladder:style-guide-from-reviewsfrom trust-ladder
Build or update STYLE.md from what reviewers actually say. Mines human review comments on merged pull requests, clusters the repeated ones into rules with bad and good examples, and names the layer each rule should move to next (type, lint, rules file, skill, or style-only). Use for /style-guide-from-reviews, when STYLE.md is empty or stale, or when reviewers keep repeating themselves.
Ships in trust-ladder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A style guide that lives in reviewers' heads is the weakest layer: it works only when a busy person remembers it. Writing it down is the first step. Moving each rule into a check is the goal. This skill does the first step from evidence and sets up the second.
Use gh against the repository. Default to the last 90 days of merged pull requests.
gh pr list --state merged --limit 200 --json number,mergedAt,author
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginate
gh api repos/{owner}/{repo}/pulls/{number}/reviews --paginate
Keep comments written by people. Drop bot accounts, approvals with no text, and replies that only say "done" or "fixed". Keep the file, the diff hunk, and the pull request link with each comment.
Group comments that ask for the same change, even when worded differently. A cluster needs at least two comments on two different pull requests to become a rule. Single comments are anecdotes; list them at the end of the report and do not write them into STYLE.md.
For each cluster, write an entry in the STYLE.md format (templates/STYLE.md in the trust-ladder plugin):
Promotion: the strongest layer that could hold it. Use type or lint:<id> when a tool could check it, review when only a human reviewer's judgment can, skill:<name> when it is a procedure, and style-only for taste.Do not duplicate what a linter already enforces. If reviewers repeat a comment that a rule already covers, the rule is misconfigured; report that instead.
Update entries that already exist instead of adding near-duplicates. Keep ids stable so review comments can cite S3. Remove entries whose rule has since moved into a check, and leave a line in the report saying where it went.
For every new entry whose promotion is type or lint:*, fix it now the way the pstack correct skill does (read it and apply its fix order), or list it for /correct if there are many. review entries stay in STYLE.md for human reviewers to cite.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/control-mobileBuild or adapt a local harness to drive and inspect an Android, iOS, Flutter, or Kotlin Multiplatform app on an emulator or simulator. Use for mobile UI verification, screenshots and screen recordings, UI hierarchy dumps, logs, startup and frame timing, deep links, or reproducing mobile bugs. The mobile counterpart of team-workflows's control-ui./setup-cloud-agentsMake the repository start, build, test, and run its app in a fresh cloud container, so engineers can run agents in parallel and designers, marketers, and founders can use the kit from a browser or phone with nothing installed. Writes one idempotent setup script, makes the kit load in every cloud session, wires it into Claude Code on the web, picks how screenshots reach pull requests for each surface, and proves it all in a fresh session. Use for /setup-cloud-agents, "run agents in the cloud", "let non-engineers use this without installing anything", or before scaling past a handful of parallel agents./setup-faker-kitPrepare a repository so agents can work in it unattended and anyone on the team can use the kit. Writes AGENTS.md, CLAUDE.md and STYLE.md around the repository's own build, test, and lint commands; links project skills for Claude Code; adds team settings so teammates get the kit automatically; and starts the corrections ledger. It adds no check script or lint configuration of its own; the one CI step it adds checks the repository's skill links. Use for /setup-faker-kit, "set this repo up for agents", or a repo with no AGENTS.md./setup-hermes-projectConnect a GitHub repository to this machine's Hermes dispatch. Two parts. The machine side, run from the owner's own Claude Code: checks the Hermes install, creates the project bot and the checkout its Claude Code sessions launch from (faker-kit marks it trusted in Claude Code itself), and starts the setup session. The repository side, run by that setup session inside the repository: writes .agents/dispatch.json and .agents/dispatch.md, describes the layout in AGENTS.md, and fills in the kit setup the repository still lacks, in one pull request. The owner only answers a few questions and merges the setup pull request. Use for /setup-hermes-project, "add this repo to Hermes", "set up faker-kit dispatch for OWNER/REPO", "set up this repo for Hermes dispatch", or after a dispatch refusal about dispatch.json./triage-incidentInvestigate one incident a Hermes project bot brought to you (the default branch's checks went red, a health URL fails, or an alert source such as Sentry, PagerDuty, Datadog, or Grafana reports a failure), without changing anything. Reads the failing checks' logs, finds the commit that broke it between the last green commit and the head, proves it by running the failing check at both, and posts one diagnosis (suspect commit, confidence, evidence, smallest safe fix) as a comment on the head commit for the owner. Never edits, pushes, reverts, or opens a pull request. Use when the brief says "/triage-incident Investigate ... in OWNER/REPO".npx claudepluginhub tsnanh/faker-kit --plugin trust-ladder