contributor-pattern-analysis
Skill2 starsChanged 4 months agoMITView on GitHub
Aggregates quality findings from a single contributor's diff and identifies recurring growth patterns for coaching purposes.
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
- changed-files-risk-classifierSkill
- change-impact-previewSkill
- concurrency-riskSkill
- 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
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
After running the full quality skill chain on one contributor's diff.
- Distinctive: line 47
When a Team Leader is conducting a branch coaching review session.
- Distinctive: line 51
Do not use it as a substitute for human feedback or mentoring.
- Distinctive: line 52
Do not use it to generate performance metrics (LOC, velocity, commit count).
- Distinctive: line 53
Do not use it to rank contributors against each other.
- Distinctive: line 54
Do not share the output directly with developers without Team Leader review.
- Distinctive: line 82
Use constructive language throughout: "growth opportunity" not "error", "tends to" not "always makes the mistake of", "could strengthen" …
- Very specific: line 85
Do not include isolated warning or info findings.
- Distinctive: line 86
Do not produce a score, a rank, or a comparison with other contributors.
- Very specific: line 97
Only one commit available: pattern classification is unreliable.
- Very specific: line 99
All findings are isolated info findings: produce an empty pattern list and note no_recurring_patterns_found.
- Very specific: line 109
Read engineering-guards.md and testing-policy.md from .mana/global/ when available to classify findings against project-specific standards.
- Distinctive: line 130
Do not run this skill on a single file in isolation.
- Distinctive: line 131
Do not use this skill to justify a disciplinary action.
- Distinctive: line 132
Do not share the raw output with the contributor without TL review.
- Distinctive: line 133
Do not use this skill as a replacement for code review.
- Very specific: line 136
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts.
≈ “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
Contributor Pattern Analysis
Purpose
Aggregate quality findings from pre-review-defect, test-quality, null-safety-risk, java-performance-smell, and known-pitfalls-extraction into a per-contributor growth pattern report. The report is intended for Team Leader use only as a coaching instrument — not for performance evaluation.
This skill identifies recurring patterns across multiple commits: the same type of finding appearing more than once signals a habit or tendency, not an isolated mistake. Isolated occurrences are reported only when severity is blocker.
When To Use It
- After running the full quality skill chain on one contributor's diff.
- When a Team Leader is conducting a branch coaching review session.
- As the aggregation step inside
team-coaching-report-agent, not standalone.
When Not To Use It
- Do not use it as a substitute for human feedback or mentoring.
- Do not use it to generate performance metrics (LOC, velocity, commit count).
- Do not use it to rank contributors against each other.
- Do not share the output directly with developers without Team Leader review.
Inputs
contributor_email— email address of the contributor being analysed.contributor_name— display name of the contributor.contributor_commits— list of commits (SHA, subject, date) authored on the branch.defect_findings— structured output frompre-review-defecton this contributor's diff.test_findings— structured output fromtest-qualityon this contributor's diff.npe_findings— structured output fromnull-safety-riskon this contributor's diff.performance_findings— (optional) output fromjava-performance-smell; include only when diff contains non-test.javafiles.known_pitfalls— (optional) output fromknown-pitfalls-extraction.
Outputs
contributor_pattern_report— per-contributor growth pattern report with severity, frequency, concrete examples, and coaching recommendations.
Execution Logic
- Group all findings by category:
test_coverage,nullability,defect_quality,performance,pitfall. - Count occurrences per category across the contributor's commits.
- Classify each category:
habit: 3 or more occurrences across commits.tendency: exactly 2 occurrences.isolated: 1 occurrence — include only if severity isblocker.
- For each identified pattern, select the most representative evidence
(concrete
file:linereference, never vague). - Produce a coaching recommendation for each pattern: suggest a specific action (pair programming session, code review focus, reference material, dedicated practice).
- Use constructive language throughout: "growth opportunity" not "error", "tends to" not "always makes the mistake of", "could strengthen" not "fails to".
- Do not include isolated
warningorinfofindings. - Do not produce a score, a rank, or a comparison with other contributors.
Decision Rules
blocker: unresolved high-risk pattern that, if repeated, would cause production incidents or block delivery gates.warning: recurring pattern that creates review churn, technical debt, or quality risk if unaddressed.info: observation useful for the TL's coaching notes; not actionable alone.
Failure Modes
- Only one commit available: pattern classification is unreliable; report
as
isolatedand add the warninglow_commit_count. - All findings are isolated info findings: produce an empty pattern list
and note
no_recurring_patterns_found. - Input findings are missing or empty: produce an empty pattern report and note which inputs were missing.
Required Human Review
The Team Leader reviews this report before sharing any feedback with the contributor. This skill output is a coaching aid, not a formal assessment.
Service Context Layer
Read engineering-guards.md and testing-policy.md from .mana/global/
when available to classify findings against project-specific standards.
Missing context files should be reported as warnings — they degrade
classification accuracy but do not block the skill.
Interaction With Codex
Codex invokes this skill as part of team-coaching-report-agent. It should
not expose the output directly to the contributor without Team Leader
approval and review.
Interaction With MCP
This skill reads only local framework and workspace files. No external MCP access is needed or permitted.
Correct Usage Examples
- Invoked by
team-coaching-report-agentafter running the quality skill chain on a single contributor's diff. - Team Leader runs the coaching review profile on a feature branch and uses the output to prepare a 1-to-1 feedback session.
Incorrect Usage Examples
- Do not run this skill on a single file in isolation.
- Do not use this skill to justify a disciplinary action.
- Do not share the raw output with the contributor without TL review.
- Do not use this skill as a replacement for code review.
Output Standard
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts. Use templates/standard-agent-skill-report.template.md when no more specific template exists.
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 with objective, base branch or PR, issue keys, workspace path, checked evidence, open hypotheses, discarded hypotheses, and next checks instead of accumulating raw transcripts, full diffs, repeated file dumps, or copied tool output.
Diagram
flowchart TD
Inputs[defect + test + npe + performance + pitfall findings] --> Group[Group by category]
Group --> Count[Count occurrences per category]
Count --> Classify{Classify pattern}
Classify -->|3+| Habit[habit]
Classify -->|2| Tendency[tendency]
Classify -->|1 + blocker| Isolated[isolated blocker]
Classify -->|1 + warn/info| Skip[skip]
Habit --> Report[contributor-pattern-report]
Tendency --> Report
Isolated --> Report
Report --> TLReview[Team Leader review gate]Example Output
skill: contributor-pattern-analysis
status: ready
contributor: "marco.rossi@example.com"
patterns_found: 3
warnings:
- "testing-policy.md not found in .mana/global; classification uses defaults"
patterns:
- category: test_coverage
classification: habit
occurrences: 4
severity: warning
summary: "Unit tests cover happy path only; edge cases and error paths absent"
evidence: "src/test/java/payments/PaymentServiceTest.java:42"
coaching_recommendation: "Pair programming session focused on boundary-value testing and error-path coverage"
- category: nullability
classification: tendency
occurrences: 2
severity: warning
summary: "Optional return values used without null-check guard"
evidence: "src/main/java/payments/PaymentMapper.java:88"
coaching_recommendation: "Code review focus on Optional chaining; reference project null-safety-risk examples"
- category: defect_quality
classification: isolated
occurrences: 1
severity: blocker
summary: "Unchecked exception swallowed in retry loop"
evidence: "src/main/java/payments/RetryHandler.java:113"
coaching_recommendation: "1-to-1 session on exception handling strategy before next PR"
outputs:
- contributor_pattern_report
human_review_required: trueDoes 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.

