agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-tools/packages/python-packages/apiview-copilot/.github/skills/report-architect-comments/SKILL.md

report-architect-comments

Skill135 starsChanged 2 months agoMITView on GitHub

Retrieve human architect review comments from APIView for a date range. Use for: architect comments, human comments, reviewer comments, board comments, architect comments for March, what did architects say, human review comments.

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use --all-commenters to skip approver filtering and return comments from all users.

    line 24
  2. Very specific:

    Language: All languages (do not pass --language unless user specifies one)

    line 30
  3. Very specific:

    When only a month name is given without a year, use the current year.

    line 43
  4. Very specific:

    After the command completes, read the output file with read_file to get the JSON results.

    line 56
  5. Distinctive:

    Date range filters by thread start time: Only threads whose first comment falls within the date window are included.

    line 99
  6. Distinctive:

    Approver filtering: If no approvers are found for a language, no comments are returned.

    line 104

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

Report Architect Comments

When to Use

  • Reviewing what human architects (language board approvers) commented on during a period
  • Analyzing review themes or patterns from human reviewers
  • Comparing human review feedback against AI-generated comments
  • Understanding what architects focus on for a specific language

Understanding Architect Comments

This command returns comments written by human language board approvers in APIView. It excludes:

  • Diagnostic comments (auto-generated by tooling)
  • AIGenerated comments (written by APIView Copilot)
  • Deleted comments

The set of approvers is determined from the APIView Permissions container — members of groups whose roles include "Architect" or "Deputy Architect" for the specified language. When no language is specified, all architect and deputy-architect group members are included.

Use --all-commenters to skip approver filtering and return comments from all users.

Defaults

Unless the user says otherwise, always apply these defaults:

  • Environment: production
  • Language: All languages (do not pass --language unless user specifies one)
  • Format: JSON (do not pass --format)

Date Resolution

The user will typically specify a calendar month by name (e.g. "March", "January 2025"). Resolve to the full month date range:

User saysstart_dateend_date
"March" (current year)YYYY-03-01YYYY-03-31
"January 2025"2025-01-012025-01-31
"March 1 to March 15"YYYY-03-01YYYY-03-15

When only a month name is given without a year, use the current year. Be careful with month lengths (28/29/30/31 days).

Running the Command

Step 1: Run the Command

Show the resolved command and run it immediately in a foreground terminal with a 120-second timeout (timeout: 120000). Redirect to a file since output can be very large.

Full terminal command (cleanup + run):

New-Item -ItemType Directory -Path output -Force | Out-Null; if (Test-Path output/architect_comments_output.json) { Remove-Item output/architect_comments_output.json }; python cli.py report architect-comments -s <start_date> -e <end_date> | Out-File -Encoding UTF8 output/architect_comments_output.json

After the command completes, read the output file with read_file to get the JSON results. Summarize the findings for the user (total count, languages covered, common themes, etc.).

Step 2: Answer Follow-up Questions

For follow-up questions about the same data (filtering, counting, searching), read the output file with read_file instead of re-running the command. The file is at output/architect_comments_output.json.

Examples

# All architect comments for March 2026
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31

# Python architect comments only
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31 -l python

# All commenters (not just approvers)
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31 -l python --all-commenters

# Include reply comments (by default only first comment per thread is returned)
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31 -l java --include-replies

# YAML output
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31 --format yaml

# Staging environment
python cli.py report architect-comments -s 2026-03-01 -e 2026-03-31 --environment staging

Available Flags

FlagTypeDefaultDescription
--start-date / -sstringrequiredStart date (YYYY-MM-DD)
--end-date / -estringrequiredEnd date (YYYY-MM-DD)
--language / -lstringallLanguage to filter by (e.g., python, Go, C#)
--environmentstringproductionproduction or staging
--format / -fstringjsonOutput format: json or yaml
--all-commentersflagfalseInclude comments from all users, not just approvers
--include-repliesflagfalseInclude reply comments. By default only the first comment per thread is returned

Gotchas

  • Output can be large: Redirect to file and use read_file rather than relying on terminal output.
  • Date range filters by thread start time: Only threads whose first comment falls within the date window are included. A reply created during the window is excluded if the thread itself started before the window.
  • Use python cli.py not .\avc: The avc.bat script may resolve to system Python.
  • Do NOT use 2>&1: Merges stderr into stdout, corrupting JSON. Only redirect stdout.
  • Do NOT use >: Produces UTF-16 in PowerShell 5.1. Use | Out-File -Encoding UTF8.
  • Month end dates: February has 28/29 days, April/June/Sept/Nov have 30 days.
  • Approver filtering: If no approvers are found for a language, no comments are returned. This can happen for less common languages with no registered board members.

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.

Reviews can't be read right now.

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.