agentleFS
yuri-xyzyuri-xyz/skills/skills/approach/SKILL.md

approach

Skill2 starsChanged 12 days agoMITView on GitHub

Use when a proposed architecture, plan, or fix needs judging on whether it is the cleanest durable approach before committing to it.

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    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:

    Check whether the proposal is idiomatic for this codebase: existing patterns, module ownership, types, abstractions, validation boundaries, …

    line 21
  2. Distinctive:

    Avoid over-scoping. Do not turn every issue into a rewrite.

    line 23
  3. Distinctive:

    Prefer a proposal when it:

    line 28
  4. Distinctive:

    Start with the verdict:

    line 47
  5. Distinctive:

    Keep the answer direct. Do not bury the recommendation behind excessive theory.

    line 62
  6. Distinctive:

    Do not recommend temporary fixes unless they are explicitly labeled as stopgaps and paired with the durable fix.

    line 66
  7. Distinctive:

    Do not over-engineer. A small root-cause fix is better than a broad redesign when it fully addresses the class of issue.

    line 67
  8. Distinctive:

    Do not approve an approach solely because it works for the immediate case.

    line 68
  9. Distinctive:

    Do not claim certainty without reading the relevant code when the codebase can settle the question.

    line 69
  10. Distinctive:

    If there are multiple strong solutions, present the top contenders instead of pretending there is only one reasonable answer.

    line 70

≈ “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

Judge Approach

Objective

Assess whether the current proposal is the right long-term architecture for the problem at hand. Prefer solutions that fix the underlying cause, make recurrence unlikely, fit the codebase's existing design, and leave the system cleaner and easier to maintain.

This is an architecture judgment skill, not an implementation shortcut. Think hard, read relevant code when applicable, and give a concrete recommendation.

This is the deepest member of the judge family and owns its verdict discipline: lead with the verdict, then the reasoning, and never bury the recommendation. Reach for a narrower sibling when the question is narrower — /root-cause for a quick checkpoint on whether a fix is a workaround stacked on top of broken behavior, /options for ranking several candidate approaches, /dependency-judge for local code versus a package, /criteria for rating a new feature or design on usefulness, soundness, consistency, and proportionality.

Workflow

  1. Restate the problem and the proposed solution in concrete terms.
  2. Inspect the relevant code, tests, contracts, call sites, data flow, and ownership boundaries before judging whenever the repository context can answer the question.
  3. Identify the root cause, not just the visible symptom. If the issue is part of a larger known problem, evaluate the proper fix for that larger problem.
  4. Check whether the proposal is idiomatic for this codebase: existing patterns, module ownership, types, abstractions, validation boundaries, error handling, and test strategy.
  5. Reject approaches that are mostly hacks, temporary shims, compatibility layers, duplicated logic, broad workarounds, or "just make it pass" fixes.
  6. Avoid over-scoping. Do not turn every issue into a rewrite. Expand scope only when the broader problem is clearly the root cause and solving it is the durable path.
  7. Compare the best viable long-term options and recommend one.

Evaluation Criteria

Prefer a proposal when it:

  • Fixes the underlying issue rather than patching symptoms.
  • Prevents the same class of bug from recurring through types, validation, centralization, clearer ownership, or better tests.
  • Fits the existing architecture and local idioms.
  • Removes or reduces duplication, special cases, and hidden coupling.
  • Has a clear migration path and bounded blast radius.
  • Improves maintainability without unnecessary abstraction.
  • Can be verified with focused tests or checks that prove the behavior and failure modes.

Be skeptical of a proposal when it:

  • Shows any of the workaround signatures defined in /root-cause.
  • Makes the system harder to reason about, test, or evolve.
  • Requires broad churn without clear root-cause payoff.
  • Adds abstraction that no second caller needs yet.

Output Shape

Start with the verdict:

  • Yes: the proposal is the best long-term approach.
  • Mostly: the direction is right, but specific changes are needed.
  • No: it is not the right long-term approach.
  • Unclear: the codebase evidence is insufficient; name exactly what must be inspected or decided.

Then provide:

  • Root cause: the underlying issue the solution must address.
  • Assessment: why the current proposal does or does not solve it robustly.
  • Top contenders: the best proper solutions worth considering, with tradeoffs.
  • Recommendation: the option you would choose and why.
  • Verification: tests, checks, or code review points that would prove the fix prevents recurrence.

Keep the answer direct. Do not bury the recommendation behind excessive theory.

Guardrails

  • Do not recommend temporary fixes unless they are explicitly labeled as stopgaps and paired with the durable fix.
  • Do not over-engineer. A small root-cause fix is better than a broad redesign when it fully addresses the class of issue.
  • Do not approve an approach solely because it works for the immediate case.
  • Do not claim certainty without reading the relevant code when the codebase can settle the question.
  • If there are multiple strong solutions, present the top contenders instead of pretending there is only one reasonable answer.

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.