agentleFS
agno-agiagno-agi/agentos-render/.agents/skills/review-and-improve/SKILL.md

review-and-improve

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Repo-wide drift sweep for public-readiness — diff docs against code, confirm every agent is registered and reachable, every env var documented, every doc path exists, and scripts behave as advertised; auto-fix mechanical drift and flag the rest. Use before a public release or after a refactor.

  • Reads credentials

2 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 2

    1. agno-agi/agentos-railway★ 3699% same
    2. agno-agi/agentos-helm★ 199% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Read first, fix once. Build the picture: registered agents/teams/workflows in app/main.py.

    line 26
  2. Very specific:

    Ask first (hits OpenAI, 1–3 minutes): python -m evals --tag release.

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Review and Improve

Coding-agent workflow: run as /review-and-improve or by describing the task.

Sweep the repo for docs accuracy, reachability, and consistency. Fix mechanical drift in place; surface the rest. AGENTS.md is the source of truth (CLAUDE.md symlinks to it).

Auto-fix: stale doc paths; example.env entries missing for vars the code reads, or stale ones nothing reads (keep those a comment marks optional/future); a registered agent or workflow missing from an architecture diagram; an agent file on disk not imported in app/main.py; a missing app/config.yaml manifest entry (draft one and flag it); broken links between docs and skills; a single-line claim in one doc contradicted by another doc or by code (fix the doc).

Flag, don't fix: section-level rewrites; code beyond imports; pyproject.toml; anything in db/, compose.yaml, Dockerfile; failing evals or live agents.

0. Preconditions

curl -sSf http://localhost:8000/health returns 200 (Step 4 needs it). Suggest git checkout -b review/$(date +%Y%m%d).

1. Scope

Restate in a few lines: README.md, AGENTS.md, example.env; .agents/skills/*/SKILL.md; app/, agents/, teams/, workflows/, db/, evals/, scripts/; compose.yaml, Dockerfile, pyproject.toml, render.yaml. Skip .venv/, caches, .git/. Fold in any concern the user names.

2. Inventory

Read first, fix once. Build the picture: registered agents/teams/workflows in app/main.py; files on disk; what app/registry.py declares and imports; env vars read (getenv(, os.environ, plus env_flag/_int_env helpers); the manifest; eval cases; register_schedules() targets; what each script does.

3. Consistency pass

CheckWhere
Every agent/team/workflow file is registeredagents/, teams/, workflows/ ↔ app/main.py
Every registered component has a manifest entryapp/main.py ↔ app/config.yaml
Every env var in code is documented, and every documented var is readcode ↔ AGENTS.md table ↔ example.env (RUNTIME_ENV is deliberately absent from example.env)
Every path and script named in docs exists and does what's claimedREADME.md, AGENTS.md, skills ↔ filesystem
Architecture diagram matches registrationsAGENTS.md
Eval cases reference real agents and toolsevals/cases.py
Every schedule hits a real workflow idapp/schedules.py ↔ workflows/
Registry inventory prose matches app/registry.pyAGENTS.md
Key Files table matches the treeAGENTS.md
Skill name: equals its folder; ../../../ links resolve; .claude/skills symlink resolves.agents/skills/
.mcp.json servers agree with the docs.mcp.json
MCP endpoint claims match mcp= in app/main.py; scripts/mcp_check.sh calls a registered agentdocs ↔ code

4. Live smoke

Confirm the container serves this repo's components (code components are is_component=false):

curl -s http://localhost:8000/agents | jq -r '.[] | select(.is_component == false) | .id' | sort
curl -s http://localhost:8000/teams  | jq -r '.[] | select(.is_component == false) | .id' | sort

A mismatch with app/main.py means another checkout owns port 8000 — stop and say so.

Smoke every code agent and the team with one quick prompt each (/agents/<slug>/runs, /teams/agno/runs; user_id=claude-review, stream=false). Pass = 200, non-empty content, no errors in docker logs agentos-api --since 30s. Bracket the whole step with the learning snapshot pair, and platform-builder's run with the builder pair (improve-agent Step 2); use only the builder's first quick prompt (the others build real components). Workflows stay out — deployment-check runs on its cron, run-evals spends model budget.

Then ./scripts/mcp_check.sh → MCP OK — <n> tools and a real answer.

Quality issues are out of scope — note them and point at improve-agent.

5. Format + validate

source .venv/bin/activate
./scripts/format.sh && ./scripts/validate.sh

Surface validate errors verbatim.

6. Evals

Ask first (hits OpenAI, 1–3 minutes): python -m evals --tag release. Failures go to "Needs your call" with eval-and-improve as the follow-up.

7. Report

Nothing fixed or flagged → "Repo is consistent and the live container is healthy. No follow-up needed." Otherwise: Fixed automatically (one line per change, with path); Needs your call (ranked, with recommended action); git diff --stat and a suggested commit (chore: review-and-improve sweep + a bullet per bucket).

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.