audit-upstream
Skill1 starsChanged 28 days agoMITView on GitHub
Audit the canonical skills fork and pstack, and classify changes worth adopting.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-inconvenientSkill
- blast-radiusSkill
- bootstrap-skillsSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- engineering-principlesSkill
- formal-verifySkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- guardrailsSkill
- handoffSkill
- howSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- inconvenient-modeSkill
- ketchupSkill
- paritySkill
- prototypeSkill
- prSkill
- recallSkill
- reframeSkill
- researchSkill
- retroSkill
- sharpenSkill
- shipSkill
- show-me-your-workSkill
- statechartSkill
- tddSkill
- teachSkill
- technical-writingSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- unslopSkill
- verifySkill
- wait-whatSkill
- wayfinderSkill
- whySkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
pstack: Read the watchlist procedure and its mapping.
- Distinctive: line 26
Read each report's changed paths and diffs, including docs.
- Distinctive: line 39
When the user asks to adopt upstream changes, implement the meaningful behavior and its connected docs, manifests, router entries, and …
- Very specific: line 55
Verify that the fork report follows the report template, that the pstack report records both upstream revisions and its watchlist results, …
- Distinctive: line 57
Always finish by telling the user:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit Upstream
1. Generate the reports
From the repository root, run:
./scripts/audit-upstream.pyBy default this writes two report paths under docs/upstream/: a fork reconciliation against the local working tree, and a pstack comparison from its last-reviewed commit to the current upstream commit. Use --source fork or --source pstack when the user asks for only one. Pass --upstream-dir (fork) or --pstack-dir only for a trusted checkout the user supplied. Read the printed reports. If one audit fails, assess any successful report and name the missing source.
2. Check each source using its own policy
- Fork: Read config.json. Confirm that every upstream skill is mapped, new, or ignored, and every local skill is mapped or reported as absent upstream. Keep rename mappings and ignores as policy; call out suspected changes rather than silently remapping them. Account for duplicate targets, unclassified skills, and stale ignores.
- pstack: Read the watchlist procedure and its mapping. Assess watched diffs against the corresponding local guidance, investigate missing paths, and inspect newly added unwatched skills. Treat pstack as a source of ideas, not a fork whose local differences must be reconciled.
3. Assess the changes
Read each report's changed paths and diffs, including docs. For the fork, also read each new and absent entry; for pstack, open the pinned source of each new unwatched skill. Replace each generated assessment with an adopt, defer, or ignore summary that distinguishes:
- upstream changes worth considering for adoption;
- intentional fork divergence, including branding and invocation changes;
- possible upstream deletions that leave local content behind;
- documentation changes that need to accompany any adopted skill change.
The step is complete when every non-empty report category is represented in the assessment or explicitly identified as mechanical noise.
For pstack, advance the last-reviewed commit only after accounting for every watched change and new skill. Keep the evidence report for the comparison that informed the decision.
4. Implement approved changes
When the user asks to adopt upstream changes, implement the meaningful behavior and its connected docs, manifests, router entries, and invocation metadata according to this repository's instructions.
For a new fork skill classified during implementation, add an explicit mapping in config.json, including the docs mapping when one exists, or add a reasoned ignore if the user declines. For a newly adopted pstack source, add its upstream path and local landing points to pstack.json instead.
Localize adopted content. Search the implemented skill and every connected local file case-insensitively for upstream branding and identifiers:
rg -ni 'matt([ -]?pocock)?|mattpocock' <adopted paths>Replace user-facing and internal references with this fork's vocabulary: inconvenient, the appropriate renamed skill such as ask-inconvenient or bootstrap-skills, and the-inconvenience-store/skills where a repository identifier is needed. Inspect every match rather than applying a blind replacement. Preserve upstream identity only where exact provenance, fetch URLs, mapping keys, raw diffs, or attribution require it.
After fork adoption, rerun ./scripts/audit-upstream.py --source fork and explain every remaining changed mapping as intentional or finish applying the missing behavior. After pstack adoption, check the adopted behavior and its local consumers directly: the upstream-to-upstream diff cannot prove local adoption. Preserve the original pstack report, including its comparison revisions and decisions.
5. Finish with a decision summary
Verify that the fork report follows the report template, that the pstack report records both upstream revisions and its watchlist results, and that all generated reports remain under docs/upstream/ without unresolved template tokens.
Always finish by telling the user:
- which changes are meaningful and why, grouped by adopt, defer, or ignore rather than by raw file count;
- the report paths and counts for each source;
- which remaining differences are intentional fork policy.
For an audit-only run, explicitly offer to implement the meaningful changes. For an implementation run, summarize what was implemented and offer to implement any meaningful changes that remain; say clearly when none remain. The audit is incomplete if the final response only reports counts or a file path.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

