changed-files-risk-classifier
Skill2 starsChanged 4 months agoMITView on GitHub
Classifies changed files by risk domain such as production code, tests, config, database, generated code, framework noise, cross-service contract, security/auth, and documentation so agents can focus only relevant skills.
In this repository67 other files it gives its agents.
- acceptance-criteria-testabilitySkill
- api-test-validationSkill
- architecture-decision-recordSkill
- architecture-drift-detectionSkill
- architecture-guard-detectorSkill
- architecture-riskSkill
- business-continuity-checkSkill
- change-impact-previewSkill
- concurrency-riskSkill
- contributor-pattern-analysisSkill
- cross-service-contractSkill
- database-driftSkill
- database-read-verificationSkill
- delivery-risk-radarSkill
- dependency-security-evidenceSkill
- developer-decision-reviewSkill
- developer-handoffSkill
- developer-readiness-checkSkill
- development-summarySkill
- epic-goal-extractionSkill
- epic-implementation-graphSkill
- epic-story-partitioningSkill
- epic-structure-analysisSkill
- flaky-failure-classificationSkill
- green-border-planSkill
- gui-testbook-authoringSkill
- gui-testbook-learningSkill
- gui-test-context-discoverySkill
- gui-test-executionSkill
- incident-risk-forecastSkill
- java-performance-smellSkill
- java-targeted-build-verificationSkill
- jira-acceptance-criteria-normalizerSkill
- jira-release-state-evidenceSkill
- knowledge-transfer-briefSkill
- known-pitfalls-extractionSkill
- legacy-characterizationSkill
- liquibase-production-riskSkill
- liquibase-syntaxSkill
- mana-governance-regression-verificationSkill
- mana-usage-helpSkill
- non-functional-requirements-reviewSkill
- null-safety-riskSkill
- post-merge-incident-learningSkill
- pre-review-defectSkill
- production-premortemSkill
- profile-selectorSkill
- regression-selectionSkill
- release-impact-summarySkill
- review-load-balancingSkill
- rollback-safetySkill
- rule-update-suggestionSkill
- service-boundary-fitSkill
- service-knowledge-captureSkill
- shell-syntax-verificationSkill
- sonar-change-riskSkill
- sonar-evidence-triageSkill
- source-impact-mapSkill
- story-effort-estimationSkill
- story-qualitySkill
- The first 60 shown.
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 39
Before branch-ready, pr-ready, or requested-pr-review deep analysis.
- Very specific: line 40
When a diff contains mixed application, test, config, database, dependency, generated, documentation, or Mana/bootstrap files.
- Distinctive: line 42
When an agent needs to decide which specialist skills to load.
- Distinctive: line 50
Read changed-file list from branch or PR diff.
- Distinctive: line 56
Add risk tags from path, extension, package, annotations, API names, table names, queue/topic names, and engineering guards.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Changed Files Risk Classifier
Purpose
Classify changed files before deep analysis so agents load only relevant skills and reviewers focus on the risky parts of a diff.
When To Use It
- Before
branch-ready,pr-ready, orrequested-pr-reviewdeep analysis. - When a diff contains mixed application, test, config, database, dependency, generated, documentation, or Mana/bootstrap files.
- When an agent needs to decide which specialist skills to load.
Outputs
changed_files_risk_mapskill_routing_recommendationreview_focus
Execution Logic
- Read changed-file list from branch or PR diff.
- Exclude known Mana/bootstrap noise unless explicitly in scope:
.mana/**,AGENTS.md,CLAUDE.md,mana, generated Mana ignore changes. - Classify each file: production code, test, config, database/migration, generated, docs, build/dependency, cross-service contract, security/auth, observability, or unknown.
- Add risk tags from path, extension, package, annotations, API names, table names, queue/topic names, and engineering guards.
- Recommend which skills should run and which should be skipped.
Decision Rules
blocker: protected path changed without approval, destructive DB/security surface changed without owner evidence, or diff base unclear.warning: risky domain touched but specialist evidence missing.info: low-risk classification and suggested reviewer focus.
Output Standard
Follow docs/standards/agent-skill-output-standard.md.
Internal reasoning must use compact caveman mode: terse fragments,
evidence-first notes, no long narrative, and no private chain-of-thought in
final artifacts. Maintain a context budget: keep a short working summary and
avoid accumulating raw diffs, repeated file dumps, or copied tool output.
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.

