Dev Contribution Quality Analysis 标志

Dev Contribution Quality Analysis

社区
vasilyu1983
dev-contribution-quality-analysis

Analyzes commit and PR history to score contribution quality objectively. Use when building engineering scorecards, calibrating promotions, or measuring AI-assist impact.

概览

发布者vasilyu1983
代码仓库AI-Agents-public
技能名称dev-contribution-quality-analysis
星标数
87
复刻数
19
附带文件
19
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 19 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 vasilyu1983 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dev Contribution Quality Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-contribution-quality-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/dev-contribution-quality-analysis .claude/skills/dev-contribution-quality-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dev Contribution Quality Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dev Contribution Quality Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dev Contribution Quality Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Developer Contribution Quality Analysis

Objective, multi-dimensional analysis of code contribution quality from git data. Produces individual deep-dive reports and team calibration comparisons.

Modern Best Practices

  • Measure contribution quality through outcomes (churn, duplication, test coverage), not presence metrics
  • AI-assisted code is normal; score the output, not the authorship
  • GitClear Diff Delta and CodeScene Code Health are the established commit-level quality benchmarks
  • Stanford ghost engineering research claims commit content analysis predicts expert quality judgments (r=0.82); study is not peer-reviewed — apply with caution
  • Agent Trace (Cursor RFC) is an emerging vendor-neutral standard for AI attribution
  • DX Core 4 framework consolidates DORA/SPACE into a unified set of four oppositional dimensions
  • DORA 2025 itself reports AI adoption now correlates with higher throughput and a "mirror and multiplier" pattern (seven team archetypes replace prior elite/high/medium/low clusters); do not confuse it with vendor telemetry reports
  • Faros AI's 2026 "Acceleration Whiplash" telemetry report (4,000+ teams, distinct from DORA) found bugs per developer up 54% and incidents per PR up 242.7% where AI adoption outran test/review discipline — cite it as Faros, not DORA
  • GitClear Jan 2026 (2,172 developer-weeks): power AI users produced 4.2x more durable code than non-users but also showed 9x more churn — AI widened an existing performance gap and its downside, not evidence of uniform uplift
  • GitClear "The Maintainability Gap" 2026 (623M code changes) extends this: refactor/moved-code share collapsed to 3.8% YTD 2026 (13% in 2023), copy/paste 15.7% in H1 2026, error-masking constructs +47%, cross-file reuse -35% — use these as the current structural-quality benchmarks
  • Treat commits and PRs authored end-to-end by an autonomous coding agent (not just AI-assisted) as a distinct evidence class — see Known Traps

Quick Reference

TaskTool / ReferenceCommand / PathWhen
Extract contribution profilesextract-contribution-profile.pypython scripts/extract-contribution-profile.py --config config.jsonFirst step after CSV extraction
Sample code qualitysample-code-quality.pypython scripts/sample-code-quality.py --config config.jsonWhen repo checkouts available
Generate quality reportgenerate-quality-report.pypython scripts/generate-quality-report.py --config config.json --mode personAfter profile extraction
Understand scoring modelscoring-model.mdreferences/scoring-model.mdBefore interpreting results
Map findings to CC-* rulescode-quality-sampling-rubric.mdreferences/code-quality-sampling-rubric.mdDuring code sampling
Calibrate against industryindustry-benchmarks.mdreferences/industry-benchmarks.mdWhen comparing to external norms

When to Use This Skill

  • Engineering managers assessing individual contribution patterns
  • Tech leads reviewing code quality trends across a team
  • CTOs building engineering scorecards
  • Pre-promotion or performance-review technical calibration
  • Measuring AI-assisted development quality impact
  • Identifying skill gaps or coaching targets

When NOT to Use This Skill

  • Governed multi-signal risk triage -> the project-scoped counterpart skill
  • Defining code quality rules -> software-clean-code-standard
  • AI coding tool ROI or adoption tracking -> dev-ai-coding-metrics
  • Repository-level code health (not person-level) -> qa-refactoring
  • General code review workflow -> software-code-review

Defaults

  • Measure contribution quality, not presence or working hours
  • Quality is multi-dimensional; no single number replaces the 6-dimension profile
  • Compare against personal baseline first, then team, then industry
  • AI-assisted code is quality-neutral; measure outcomes (churn, duplication, test coverage) regardless of authorship
  • Git data is necessary but not sufficient; always note what evidence is missing
  • CC-* rules from software-clean-code-standard are the code quality rubric
  • Minimum data: 30 commits and 20 active days in the analysis window
  • Scripts consume the same CSV format as the project-scoped counterpart skill extraction
  • Ingest dedupes on (repo, commit_hash) and cancels Revert "X" + original pairs (both flagged net_cancel) so churn-rate and net_lines do not double-count multi-root scans or self-reverting churn
  • Code volume is measured as code_loc (extension-filtered: drops .json, .yaml, .md, snapshots, generated paths). Raw net_loc and churn_loc are kept for context but never feed the headline rating.
  • The D2 headline rating is complexity-weighted: code_loc × (1 + α·ΔCC + β·novelty), banded against team median with role calibration. Definition is shared with the project-scoped counterpart skill; both skills must produce identical ratings from the same CSV input.

Workflow

  1. Define the question — quality audit, growth tracking, team calibration, or promotion case
  2. Set scope — person(s), time window, repo roots
  3. Extract git + MR data — use the project-scoped counterpart skill extraction scripts or provide CSVs in the same format
  4. Run contribution profile analysis — extract-contribution-profile.py computes all Tier 1 signals
  5. Run code quality sampling (optional) — sample-code-quality.py maps sampled commits to CC-* rules
  6. Generate quality report — generate-quality-report.py in person or team mode
  7. Present findings with explicit limitations and calibration context

ASCII Flow

text
contribution quality request
  -> define decision: audit, growth, calibration, promotion, or AI impact
  -> set people, time window, repos, and minimum data threshold
  -> extract and normalize git plus MR/PR evidence
  -> dedupe commits and cancel revert pairs
  -> compute contribution profile and role-aware baselines
  -> sample code quality against CC-* rules when repo checkouts exist
  -> generate person, team, scorecard, or JSON output
  -> present limitations and calibration context

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Verify current external benchmark claims, vendor metrics, and framework standards against primary sources before presenting them as current fact.
  • Treat vendor-authored scoring systems, AI attribution standards, and industry benchmark comparisons as volatile unless rechecked against current documentation or published research.
  • If web verification is unavailable, label time-sensitive benchmark or standards guidance as unverified.

Decision Tree: Assessment Type

text
What is the assessment goal?
├── Individual quality audit?
│   ├── Point-in-time snapshot → person quality report
│   └── Trend over time → person trend report (multiple windows)
├── Team quality comparison?
│   ├── Promotion / review calibration → team calibration report
│   └── Quality trend monitoring → team trend report
└── AI impact assessment?
    └── Before/after or AI-ratio analysis → quality-neutral outcome comparison

Scoring Model (Summary)

Six dimensions, 100 total points. See references/scoring-model.md for full detail.

#DimensionWeightPrimary Signals
D1Delivery Consistency20Commit frequency stability, active days, MR throughput, trend
D2Code Quality Signals25Churn rate (14d), duplication, refactoring ratio, complexity-weighted rating (code-only LOC × ΔCC + novelty), CC-* compliance
D3Commit Craft15Message quality, scope discipline, PR size, self-merge rate
D4Review & Collaboration20Review participation, responsiveness, cross-repo contribution
D5Test & Safety Practices10Test-to-code ratio, test presence in features, security-file awareness
D6D6 Context-Only Signal — AI Development Quality—Annotation only: AI code survival, quality parity, verification burden

Quality Tiers (D1-D5, 90 pts total): A (72-90 Exemplary), B (54-71 Solid), C (36-53 Developing), D (0-35 Concerning)

D6 carries no point allocation and is excluded from tier assignment. It is appended to reports as a separate annotation. See references/scoring-model.md for rationale.

Output Modes

  • Person quality report — individual deep-dive with 6-dimension breakdown, sampled commit quality, CC-* findings
  • Team calibration report — comparison matrix with heatmap, tier distribution, team strengths/gaps
  • Quality scorecard — one-page quick reference for presentations
  • Machine-readable JSON — contribution-profiles.json for dashboards and downstream tools

Known Traps

  • Treating commit frequency or online presence as contribution quality when the actual question is code-health and delivery outcomes.
  • Comparing developers across very different repo types, support load, or code ownership without first calibrating those constraints.
  • Interpreting AI-heavy contribution patterns as automatically higher or lower quality without reviewing churn, survival, and verification burden.
  • Building a score from sparse data windows that do not meet the minimum threshold for stable signal extraction.
  • Sampling code quality from convenience commits instead of representative work, which biases the conclusions toward visible or recent changes.
  • Scoring a PR that was generated end-to-end by an autonomous coding agent (Devin, Codex cloud tasks, Claude Code background/delegated sessions) as if it reflects the human's craft. When a repo's provenance data shows fully agent-authored diffs merged under a human identity, D3 (Commit Craft) and D2 code-surface signals measure the agent's output and the human's review/orchestration judgment, not their hand-written code quality — say so explicitly in the report and do not fold it into an unqualified craft score.
  • Letting a rising headline number go unquestioned when the underlying behavior could be gamed: churn can be suppressed by avoiding risky files instead of writing more durable code; PR-size discipline can be gamed by artificially splitting one change into many trivial PRs; test-to-code ratio can be inflated with low-value snapshot or no-op tests. Cross-check any single improving metric against at least one adjacent signal before crediting it.

Common Anti-Patterns

  • Turning a multi-dimensional quality model into a hidden ranking engine and pretending the composite number is objective truth.
  • Using the analysis for attendance policing or concurrent-employment inference when the skill is supposed to measure contribution quality.
  • Treating one period’s score as a permanent trait rather than a snapshot with scope, context, and missing evidence.
  • Comparing people on absolute numbers without anchoring against their own baseline and the team’s expected role shape.
  • Letting the report imply causality or promotion readiness when the evidence only supports calibration and coaching discussion.
  • Letting duplicate (repo, commit_hash) rows or Revert "X" pairs inflate churn and net_lines; the ingest layer must dedupe and cancel revert pairs before D2 scoring.

Integration

Data Pipeline (supplier: the project-scoped counterpart skill)

This skill consumes the same CSV format produced by:

  • extract-commits.sh → raw-commits.csv
  • extract-mr-acceptances.sh → mr-acceptances.csv

It also reuses the identity-aliases.json format and email_to_person config pattern. It does NOT duplicate extraction scripts or authenticity triage.

Code Quality Rubric (consumer: software-clean-code-standard)

Sampled commit findings reference CC-* rule IDs (CC-NAM-01 through CC-DOC-04) and use the same P0-P3 priority system. No rule definitions are duplicated.

Navigation

Resources

  • Scoring Model — 6-dimension point model (D1-D5 scored, D6 annotation only); weights, thresholds, tier override rules
  • Contribution Signals Catalog — all signals grouped by extraction tier (git-only, static analysis, AI attribution) with confounders
  • Code Quality Sampling Rubric — P0-P3 CC-* rule mapping for sampled commits; automated check confidence levels
  • AI Attribution Patterns — ground-truth tooling, detection heuristics, quality metrics for AI-assisted code (all context-only)
  • MR/PR Quality Signals — rubber-stamp detection, size/review-speed/rework benchmarks and thresholds
  • Industry Benchmarks — GitClear (2020-2024 baseline, 2026 cohort), DORA 2024/2025, METR, Stanford calibration data

Templates

Scripts

Related Skills

  • the project-scoped counterpart skill — authenticity triage and governed risk signal convergence (upstream)
  • software-clean-code-standard — CC-* rule definitions and code review standards (rubric source)
  • dev-ai-coding-metrics — AI tool adoption and ROI measurement (complementary)
  • software-code-review — review workflow and judgment (process)

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Dev Contribution Quality Analysis AI 技能有什么作用?

Analyzes commit and PR history to score contribution quality objectively. Use when building engineering scorecards, calibrating promotions, or measuring AI-assist impact.

为什么在 TypingMind 中使用 Dev Contribution Quality Analysis?

因为您只需安装一次,就能搭配任何模型使用。Dev Contribution Quality Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dev Contribution Quality Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-contribution-quality-analysis。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dev Contribution Quality Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dev Contribution Quality Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dev Contribution Quality Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dev Contribution Quality Analysis AI 技能免费吗?

是的。vasilyu1983 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇