agentleFS
mishraaditya595mishraaditya595/solo-squad/skills/team-audit/SKILL.md

team-audit

Skill2 starsChanged 14 days agoMITView on GitHub

Use when the owner wants the codebase audited for bugs, security issues, missing tests, tech debt, dependency or tooling problems, or grounded direction — runs the Tech Lead in audit mode and turns the best findings into ideas to pick from.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is 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.

  • 1

    Very specific

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

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

    Never edit code, fix a finding, or start team-build — the audit only advises.

    line 23
  2. Distinctive:

    Never pick an idea for the owner.

    line 24
  3. Distinctive:

    Never copy a secret's value into the report, an idea or a message — location and credential type only.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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-audit [quick|deep] [<category>]

Finds what's worth fixing across the codebase and adds the best of it to ideas.md, so it goes through the same Gate 1 → team-build flow as any feature. Nothing is fixed here.

  1. Needs .agent-team/project.md (else: "run team-init first"). The checkout must be on the default branch (D=$(agent-team default-branch)); if not, stop and tell the owner. agent-team pull; if it fails, stop and show the owner its message.
  2. Level and scope. quick, deep or neither (= standard). A category (correctness, security, performance, tests, tech-debt, dependencies, dx, docs, direction) narrows the audit to that one.
  3. Report file. agent-team audit-path prints path: <report path> — the next free .agent-team/audits/<date>[-n].md, counting reports here, on $D and on agent-team/meta — and one earlier: … line per earlier report. Never pick the name yourself, and never overwrite an earlier audit.
  4. Dispatch the tech-lead role in audit mode on the tier from agent-team tier tech-lead-audit --tool <tool> (tech-lead-audit-quick for quick), using the dispatch notes in the team-build skill's references/. Pass: the level, the category (if any), the report path, the earlier: list, and that the ## <date> — mode: audit heading in ideas.md uses the date in the report file name (audit-path picks it in UTC, so the two always match).
  5. Commit and push only these: agent-team docs-commit -m "docs: audit" --title "agent-team: audit" .agent-team/audits .agent-team/ideas.md (same rules as team-ideate: a temporary worktree, pushed to $D or to the agent-team/meta PR).
  6. Report to the owner: the new ideas (slug, title, value/effort), best first; how many findings were found and rejected; what wasn't audited; the report path. End with: "Pick one and run team-build <slug>, or team-ideate reject <slug>."

That pick is Gate 1 — don't start building.

Never

  • Never edit code, fix a finding, or start team-build — the audit only advises.
  • Never pick an idea for the owner.
  • Never copy a secret's value into the report, an idea or a message — location and credential type only.

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.