agentleFS
nodealchemynodealchemy/powernode-platform/.claude/skills/improve/SKILL.md

improve

Skill4 starsChanged 18 days agoMITView on GitHub

Discover, offer, and triage code-quality improvements for the dev-improve loop

66 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deploy-platform, setup-platform and 9 more.

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.
  • agno-agiSkill

    deploy-platform

    Deploy this AgentOS using its own provider instructions, configure JWT verification, and verify the public service. Use for first deployment, redeployment, or production configuration changes.

    Also in 4 projects that use this

  • agno-agiSkill

    setup-platform

    Set up this AgentOS from a fresh clone — confirm Docker, configure .env, boot the containers, prove the MCP endpoint live, connect the AgentOS UI, then build the user's first agent. Use when the user asks to set up the platform, get started, or bring this repo up on a new machine.

    Also in 4 projects that use this

  • MicrosoftSkill

    create-agent

    Create a new MCS2 Copilot Studio agent and PAC-connected local workspace with `pac copilot init`, then optionally add modern instructions, skills, tools, knowledge, and settings before synchronizing it. Use when the user asks to create, scaffold, initialize, or build a Copilot Studio agent.

    Also in 5 projects that use this

  • HeshamFSSkill

    loop

    Run a command or check on a recurring interval

    Also in 5 projects that use this

  • AmirofcodesSkill

    goal

    Use when the user starts, manages, or asks about an OpenClaw goal mode with /goal. Enforces a bounded goal contract, visible progress blocks, proof requirements, stop conditions, and honest limitation language when no runtime goal-loop plugin is active.

    Also in 4 projects that use this

  • JetBrainsSkill

    doc-sync

    Keeps IdeaVim documentation in sync with code changes. Use this skill when you need to verify documentation accuracy after code changes, or when checking if documentation (in doc/, README.md, CONTRIBUTING.md) matches the current codebase. The skill can work bidirectionally - from docs to code verification, or from code changes to documentation updates.

    Also in 3 projects that use this

  • +3 more from agno-agi

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 64 edited versions we read keep these.

  • 1

    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:

    Verify-before-offer is mandatory — no unverified finding reaches the queue.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 64 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

/improve — Discover & Offer Code-Quality Improvements

Surface code-quality improvements, offer them for human approval, and turn approved ones into dev-improve Ralph Loop tasks that /dev-loop (or a platform agent) acts on. Operator-driven (Tier-1). The platform improvement MCP tool is the dual surface — platform agents call the same actions, so this works for Powernode and any other indexed repo.

Usage

/improve discover [repo]           # find + vet + offer improvements
/improve review                    # list pending offers
/improve approve <id>              # approve an offer -> creates a dev-improve task
/improve delegate <id>             # approve + hand the task to a platform agent
/improve revert <id>               # mark a promoted task reverted (ungameable metric signal)
/improve status                    # improvement scoreboard (velocity + revert_rate)
/improve enable-autonomy <agent>   # gated: run dev-improve unattended (off by default)
/improve disable-autonomy          # return dev-improve to operator-driven

discover

  1. Analyze (MCP-first): platform.code_static_analysis, then scripts/pattern-validation.sh; add platform.code_dead_code / platform.code_find_duplicates when asked.
  2. Verify-before-offer (scrutiny gate — mandatory): for EACH candidate, confirm it still reproduces on HEAD. For dead_code/code_duplication, prove zero live callers with platform.code_blast_radius BEFORE proposing a deletion/extraction. Discard anything you cannot reproduce. Record the proof as verifier_evidence.
  3. Classify each vetted finding: code_lint | dead_code | code_duplication | convention_adherence | test_gap.
  4. Core-purity (gate #9): findings under extensions/private/* are auto-tagged to that extension by the tool — never offer them as core/global, and never propose a fix that makes a core file depend on an extension.
  5. Offer each finding: platform.create_improvement with recommendation_type, title, fingerprint (kind|file|rule), files, fix, verifier_evidence, confidence_score. Idempotent on fingerprint — re-running discover updates, never duplicates.
  6. Report a summary table (kind, title, file, confidence). Do NOT bulk-approve — offers await individual human review (CLAUDE.md bulk-op rule covers auto-discovered code changes).

review

platform.list_improvements (status: pending). Show the offers; the user decides.

approve <id>

  • Confirm with the user (never batch-approve auto-discovered code changes).
  • platform.approve_improvement (recommendation_id) → creates a dev-improve RalphTask back-linked to the recommendation; returns task_key.
  • Tell the user to drain it: /dev-loop dev-improve (or /improve delegate to hand it to a platform agent).

delegate <id>

Approve as above, then hand the task to a platform agent instead of running it in this session:

  1. Pick a capable platform agent: platform.list_agents.
  2. platform.delegate_ralph_task(loop_id: "dev-improve", task_key: <key>, agent_id: <agent>, await: false).

Reuses the platform's capability-matrix + delegation-authority checks; await: true blocks until the agent finishes and records the outcome on the loop; it's a no-op when the kill switch is active. Either drain the queue yourself (/dev-loop dev-improve) or delegate — both act on the same dev-improve tasks.

status

platform.scoreboard — offer funnel (discovered / approved / applied / dismissed) plus the ungameable metric: revert-adjusted net_improvement_velocity and per-kind revert_rate (blast-radius weighted, per-kind capped). Computed from ground truth (reverted_at / task status), never self-reported checks.

revert <id>

platform.revert_improvement (recommendation_id, reason) — marks the dev-improve task promoted from that recommendation as reverted. This is the ground-truth signal the metric uses; it works even while the kill switch is active (undoing a bad change must always be possible).

enable-autonomy / disable-autonomy (gated — off by default)

Tier-2 unattended mode. platform.enable_autonomy (agent_id, max_iterations_per_day) flips the dev-improve loop to autonomous push, drained by a capability-matched platform agent on the process_scheduled cadence, with the daily cap and ai_suspended? kill switch enforced. Refused while the kill switch is active. platform.disable_autonomy returns the loop to operator-driven pull execution. Leave this OFF until discovery noise/quality is proven.

Guardrails

  • Verify-before-offer is mandatory — no unverified finding reaches the queue.
  • The human-approval gate is structural: a dev-improve task cannot exist until an offer is approved.
  • Respect emergency_halt — approve is a no-op when the kill switch is active.
  • One offer = one fingerprint.

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.