agentleFS
samwelmungasamwelmunga/jenga-npm/.agents/skills/j-improve/SKILL.md

j.improve

Skill0 starsChanged 22 days agoApache-2.0View on GitHub

A skill for analyzing a codebase and producing a structured improvement plan toward a defined goal.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before doing anything, check the attached description for an explicit or implicit goal.

    line 16
  2. Distinctive:

    If no goal can be determined, ask:

    line 21
  3. Distinctive:

    Do not proceed until a goal is confirmed.

    line 24
  4. Distinctive:

    Search for files and flows relevant to the target goal.

    line 31
  5. Very specific:

    Look in project/documentation/ for .md files that offer insight into:

    line 37
  6. Distinctive:

    If yes: proceed to step 5.

    line 45
  7. Distinctive:

    If no: proceed to step 4.

    line 46
  8. Very specific:

    Call /todo with the following message:

    line 59

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

Improve

skills/j-improve/ is the canonical, hand-edited directory for this skill, per CLAUDE.md's "The Canonical Naming Contract" (the E50 reopening of 2026-09-09, which promoted skills/j-improve/ from generated twin to sole canonical form). The j- prefix is there for collision safety — a real directory under a distinct name, so a host tool shipping its own same-named built-in command cannot shadow it (Claude Code's native skill resolution is a literal-string, directory-name-based match; see project/documentation/skill-authoring.md's "Invocation Convention").

⚠️ scripts/generate-j-alias.sh was retired by E50_S14 and no longer exists — there is nothing to run. This file was previously generated from a bare skills/improve/SKILL.md source; E50_S15 deleted that directory. This file is now the sole canonical, hand-edited source for this skill — edit it directly.

Instructions

Before doing anything, check the attached description for an explicit or implicit goal.

  • Explicit goal: clearly stated (e.g. "improve login performance")
  • Implicit goal: inferable from context (e.g. "the checkout flow feels slow" → goal: improve checkout performance)

If no goal can be determined, ask:

"What's the outcome you're trying to achieve with this improvement?"

Do not proceed until a goal is confirmed.


Steps

1. Search the Codebase

Search for files and flows relevant to the target goal. Look for:

  • Entry points, handlers, or controllers related to the feature
  • Shared utilities or services it depends on
  • Recent changes in the area (if git history is accessible)

2. Check Project Documentation

Look in project/documentation/ for .md files that offer insight into:

  • Architecture decisions
  • Known limitations
  • Intended behavior of the relevant area

3. Evaluate Insight Sufficiency

Assess whether you have enough context to evaluate current behavior against the goal.

  • If yes: proceed to step 5.
  • If no: proceed to step 4.

4. Run /examplify

Invoke the /examplify skill. Specify clearly what you want it to find out — e.g. which code paths are exercised, what inputs/outputs look like, or what edge cases exist.

5. Run /evaluate

Copy .agents/skills/j-evaluate/assets/evaluation_invokation_template.yml and fill in:

  • paths: path(s) to the relevant example files
  • goal: the confirmed target goal

This generates <target-goal-in-kebab-case>-eval.md inside project/rapports/analysis/.

6. Invoke /todo

Call /todo with the following message:

"invoke /brainstorm <path-to-evaluation-rapport>".

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.