agentleFS
philpalmieriphilpalmieri/engineering-manager-skills/skills/management/team-analysis/SKILL.md

team-analysis

Skill1 starsChanged 6 months agoMITView on GitHub

Generate a team activity report for a date range. Analyzes PR volume, review patterns, project distribution, and individual contributions. Use for monthly reports, quarterly reviews, or ad-hoc team health checks.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the relevant JSON files from data/YYYY-MM/ directories.

    line 39
  2. Distinctive:

    Write a markdown report:

    line 62
  3. Distinctive:

    Data first: If data isn't fetched for the requested range, fetch it before analyzing.

    line 114
  4. Distinctive:

    No ranking or stack-ranking: Don't compare members against each other.

    line 115
  5. Distinctive:

    Fiscal year awareness: If the team uses a non-standard fiscal year (e.g., Q1 = Jul-Sep), respect that mapping from the team roster config.

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Team Analysis

Generate an activity report analyzing team contributions over a date range. Combines fetched GitHub data with vault context to produce a narrative report.

When to use

  • "Analyze team last month", "team report for Q3", "how did the team do in April?"
  • "Analyze {member} last 2 weeks" (individual focus)

Prerequisites

  • Fetched team activity data in data/YYYY-MM/ (use team-activity skill if missing)
  • Team roster (team.json)

Process

Step 1: Resolve the date range

Parse the request into concrete dates. Support:

RequestResolution
"analyze team 2026-05"May 1-31
"analyze team last 2 weeks"14 days back from today
"analyze {member}"Check reports/index.json for last report covering this member; analyze from that date to now
"analyze {member} last week"Last 7 days

Step 2: Load data

Read the relevant JSON files from data/YYYY-MM/ directories. If data is missing for the requested range, fetch it first using the team-activity skill.

Step 3: Analyze

Team-level metrics:

  • Total PRs authored, merged, and reviewed
  • PR distribution by repo (where is work happening?)
  • Review coverage (who's reviewing whose work?)
  • Issue throughput (opened vs. closed)

Individual-level metrics:

  • PRs authored and merged (count and titles)
  • Reviews given (count and to whom)
  • Issues closed
  • Notable patterns: breadth across repos, review depth, velocity trends

Qualitative observations:

  • Project momentum: which projects are moving fast vs. stalled?
  • Collaboration patterns: is everyone reviewing, or is it concentrated?
  • Risk signals: anyone with zero reviews? Anyone with lots of open but few merged?

Step 4: Generate report

Write a markdown report:

# Team Activity Report: {date_range}

## Summary
- {N} PRs authored ({M} merged) across {R} repositories
- {X} reviews given, {Y} issues closed
- Top contributors: ...

## By Project
### {Project/Repo Name}
- Key PRs and what they accomplished
- Who worked on it

## By Member
### {Member Name}
- PRs: [list with links]
- Reviews: [count, notable ones]
- Observations: [patterns, recognition, concerns]

## Observations
- [Cross-cutting patterns, collaboration health, risk signals]

Step 5: Save and index

  1. Save report to reports/ directory with descriptive filename:
    • Team: analysis-team-YYYY-MM.md
    • Individual: analysis-{login}-YYYY-MM.md
  2. Update reports/index.json:
{
  "reports": [
    {
      "id": "rpt-{timestamp}",
      "type": "team|individual",
      "member": "{login or null}",
      "from": "YYYY-MM-DD",
      "to": "YYYY-MM-DD",
      "file": "analysis-....md",
      "generated_at": "ISO-8601"
    }
  ]
}

This index lets future "analyze {member}" calls pick up where the last report left off.

Rules

  • Data first. If data isn't fetched for the requested range, fetch it before analyzing. Don't guess.
  • No ranking or stack-ranking. Don't compare members against each other. Analyze each person's contributions on their own merits.
  • Context matters. Someone with 2 PRs who shipped a complex migration is more notable than someone with 15 trivial dependency bumps. Weight quality over quantity.
  • Flag what you can't see. GitHub data misses meetings, design work, mentoring, code review depth, and cross-team coordination. Note these gaps.
  • Fiscal year awareness. If the team uses a non-standard fiscal year (e.g., Q1 = Jul-Sep), respect that mapping from the team roster config.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.