agentleFS
jhlee0409jhlee0409/omni-harness-kit/skills/assess/SKILL.md

assess

Skill2 starsChanged 4 months agoMITView on GitHub

Read-only maintainability audit of a whole codebase — ranks the files most likely to cause maintenance pain (size × churn hotspots, test gaps, lint debt) and proposes discrete fixes, each as its own PR. Use before a cleanup/refactor pass, when inheriting a codebase, or when the user says "유지보수성 점검", "어디부터 리팩토링", "코드베이스 상태 봐줘", "where is the tech debt?", "what should we clean up first?". Produces a findings table + top-3 fix proposals; it edits nothing and stores no grade.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use blueprint and verify.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • WordPressSkill

    blueprint

    Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    verify

    End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NOT a quality daemon: it is a one-shot, on-demand, read-only audit that outputs a

    line 19
  2. Distinctive:

    If you find yourself wanting to *store* the score or run this on every commit, stop: that is the rejected metrics layer.

    line 29
  3. Distinctive:

    Read-only. Enumerate + rank + propose.

    line 79
  4. Distinctive:

    No stored grade / dashboard / trend.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “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

assess — rank maintenance risk, propose discrete fixes

Give a codebase a stack-parameterized maintainability snapshot so the next change (by a human or an agent) lands where it hurts least. This is deliberately NOT a quality daemon: it is a one-shot, on-demand, read-only audit that outputs a ranked fix list, not a stored score, grade, dashboard, or trend line.

Scope boundary (read this first)

The kit ships no measurement / self-evolving subsystem by design (introspect SKILL §3, Tier 3). This skill is compatible with that decision because it is a human-invoked one-shot assessment, not a generated runtime metrics layer: it persists nothing, runs only when asked, and its output is discrete PRs a person chooses — never an automatic remediation loop or a number the harness optimizes. If you find yourself wanting to store the score or run this on every commit, stop: that is the rejected metrics layer.

Honest limit: there is no validated universal "AI-maintainability" metric. The signals below are structural proxies; hotspots (churn × size) have the strongest maintenance-pain evidence in the literature, static-analysis smells the weakest (they need size/churn controls). Report proxies, not verdicts.

1. Run the engine

bash "${CLAUDE_PLUGIN_ROOT}/skills/assess/assess.sh" <target>

It reuses introspect/detect.sh for the stack, then emits JSON:

  • signals.hotspots — files ranked by size × 90-day churn (the primary signal).
  • signals.size_outliers — files ≥ 400 lines (hard to change safely).
  • signals.test — is there a runnable verify command + any test files? gap: true means an agent can't cheaply prove a change here.
  • signals.lint_debt — the stack linter's finding count, only if it's installed.
  • signals.duplication — candidate clone blocks (8+ identical normalized lines seen in ≥2 places), with locations; conservative, so treat as leads not verdicts.
  • caveats — always surface these to the reader.

The engine is deterministic and cheap (git + wc + a rolling-hash clone scan + optional installed linter). It does NOT cover dependency cycles or cognitive complexity yet — say so; don't imply it did.

2. Render the findings (human-decidable)

Turn the JSON into a table a person can act on — severity × effort, each row with its evidence and the concrete fix:

FindingEvidence (file:line / count)SeverityEffortFix

Severity from the signal (a high-churn 400+ line file with no tests = high). Keep labels in words, not jargon — a reader must decide from each row (route to readability-critic if unsure).

3. Propose the top 3 — as discrete PRs

Pick the 3 highest severity×(low effort) findings. For each: the file, why it's a risk (the signal), and the concrete change (split the god-file, add a characterization test before refactoring the hotspot, fix the lint debt). Hand the chosen one to /harness-kit:new-spec — one fix, one PR, one human gate. Do NOT auto-apply.

Constraints

  • Read-only. Enumerate + rank + propose; never edit, never open a PR.
  • No stored grade / dashboard / trend. A caller who wants a trend diffs two runs themselves.
  • Cite every finding with a file:line or a count from the engine — no "feels messy". Surface the engine's caveats verbatim.
  • Stack-parameterized, degrade gracefully: no git → hotspots fall back to size; no linter installed → skip lint debt and say so.

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.