skills-continuous-improvement
Skill17 starsChanged 57 days agoMITView on GitHub
Biweekly maintenance workflow for improving Agent Skills, eval suites, and matching rules in this handbook. Use when the user asks to review, refresh, audit, improve, harden, evaluate, or update skills/rules, or when doing a scheduled every-2-weeks quality pass over skills. Finds rule/skill/eval drift, stale examples, unsafe snippets, broken navigation, duplicated guidance, and missing non-negotiables; applies high-confidence fixes and reports larger follow-ups.
In this repository53 other files it gives its agents.
- agents-sdkSkill
- agent-workflowSkill
- api-designSkill
- aws-iamSkill
- bash-shell-scriptingSkill
- cicd-github-actionsSkill
- cloudflare-email-serviceSkill
- cloudflareSkill
- cloudflare-waf-authorSkill
- cloudflare-workers-authorSkill
- cloud-platformsSkill
- codebase-security-auditSkill
- containers-orchestrationSkill
- core-engineeringSkill
- database-postgresqlSkill
- databricksSkill
- data-engineeringSkill
- distributed-transactionsSkill
- documentation-standardsSkill
- domain-driven-designSkill
- durable-objectsSkill
- frontend-engineeringSkill
- git-workflowSkill
- go-rust-systemsSkill
- iam-security-advisorSkill
- independent-verificationSkill
- infrastructure-iacSkill
- kubernetes-containersSkill
- kubernetes-operator-developmentSkill
- mcp-developmentSkill
- memory-architectureSkill
- multi-perspective-reviewSkill
- networking-transportSkill
- observabilitySkill
- oktaSkill
- pdf-exportSkill
- python-developmentSkill
- reactflow-architecture-diagramsSkill
- sandbox-sdkSkill
- scripting-automationSkill
- security-testingSkill
- service-resilienceSkill
- single-file-dashboardSkill
- skills-compositionSkill
- snowflakeSkill
- system-designSkill
- typescript-javascriptSkill
- web-perfSkill
- web-research-kb-refreshSkill
- workers-best-practicesSkill
- workload-identitySkill
- wranglerSkill
- zero-trustSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 17 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill for the recurring two-week quality pass over this repository's skills and the rules they pair with.
- Distinctive: line 14
Run every two weeks, or sooner when:
- Distinctive: line 37
Treat duplicated prose and bidirectional "canonical" claims as defects.
- Very specific: line 38
Use supported Cursor activation metadata: globs for file-scoped rules and precise name/description metadata for skills.
- Very specific: line 39
Use absolute ${HANDBOOK_ROOT}/...
- Distinctive: line 67
Every requirement has one canonical owner.
- Distinctive: line 77
Search for code examples that teach weak or outdated patterns.
- Distinctive: line 79
Use targeted scans, not broad rewrites.
- Distinctive: line 89
Treat matches as findings only when the surrounding prose is teaching the pattern.
- Distinctive: line 101
Use official docs or the repo's existing web-research workflow.
- Distinctive: line 113
Do not apply broad rewrites when:
- Distinctive: line 124
Run targeted checks for touched files:
- Very specific: line 138
Run a model-backed with-skill versus baseline comparison when a change affects triggering, workflow order, required outputs, safety gates, …
- Distinctive: line 140
If broad pre-commit is too large or noisy, run targeted hooks and clearly report any skipped checks.
- Distinctive: line 169
Prefer small, reviewable commits grouped by domain.
- Distinctive: line 170
Do not "modernize" examples unless they conflict with current rules or current official docs.
- Distinctive: line 172
Do not change unrelated user edits in a dirty tree.
- Distinctive: line 173
Do not add always-on behavior to skills.
- Distinctive: line 174
Do not mirror full rule sections into skills or full skill sections into rules.
- Distinctive: line 175
Keep eval fixtures synthetic and public-safe.
≈ “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.
Files
Skills Continuous Improvement
Use this skill for the recurring two-week quality pass over this repository's skills and the rules they pair with.
The goal is not churn. The goal is to keep the handbook current, safe, and useful for code generation.
Cadence
Run every two weeks, or sooner when:
- A rule changes and its companion skill may now be stale.
- A new skill is added.
- A skill with an eval suite changes its instructions, description, fixtures, or expected behavior.
- A user reports that agents still generate weak code despite existing guidance.
- A vendor/runtime changes defaults, versions, APIs, or best practices.
- Pre-commit, lint, or security checks reveal repeated issues.
Scope
Review both layers:
- Rules (
rules/*.mdc) - concise invariant gates and file-scoped policy. - Skills (
skills/*/SKILL.mdplus one-level references) - canonical workflows, explanations, and examples. - Skill evals (
skills/*/evals/evals.jsonand synthetic fixtures) - measurable behavior and regression coverage.
Ownership Contract
- A rule owns only requirements that must apply whenever its scope matches.
- A skill owns procedures, examples, command sequences, troubleshooting, and detailed references.
- A rule may summarize a gate and link to the skill, but must not copy the skill's tutorial content.
- A skill may link to a mandatory rule, but must not become a second policy source.
- Treat duplicated prose and bidirectional "canonical" claims as defects.
- Use supported Cursor activation metadata:
globsfor file-scoped rules and precisename/descriptionmetadata for skills. Do not invent unsupported skill frontmatter such aspaths. - Use absolute
${HANDBOOK_ROOT}/...links for cross-file handbook references so agents do not resolve them against another active repository.
Prioritize skills with paired rules first:
- Python rule (
${HANDBOOK_ROOT}/rules/200-python.mdc) ↔ Python skill (${HANDBOOK_ROOT}/skills/python-development/SKILL.md) - Go rule (
${HANDBOOK_ROOT}/rules/210-go.mdc) ↔ Go/Rust skill (${HANDBOOK_ROOT}/skills/go-rust-systems/SKILL.md) - JavaScript and TypeScript rule (
${HANDBOOK_ROOT}/rules/225-javascript-typescript.mdc) ↔ TypeScript/JavaScript skill (${HANDBOOK_ROOT}/skills/typescript-javascript/SKILL.md) - Bash rule (
${HANDBOOK_ROOT}/rules/140-bash.mdc) ↔ Bash skill (${HANDBOOK_ROOT}/skills/bash-shell-scripting/SKILL.md) and scripting automation skill (${HANDBOOK_ROOT}/skills/scripting-automation/SKILL.md) - Cloudflare rule (
${HANDBOOK_ROOT}/rules/400-cloudflare.mdc) / Cloudflare Workers rule (${HANDBOOK_ROOT}/rules/401-cloudflare-workers.mdc) / Cloudflare WAF rule (${HANDBOOK_ROOT}/rules/405-cloudflare-waf-rules.mdc) ↔ Cloudflare skills - Kubernetes rule (
${HANDBOOK_ROOT}/rules/450-kubernetes.mdc) / Helm rule (${HANDBOOK_ROOT}/rules/460-helm.mdc) ↔ Kubernetes containers skill (${HANDBOOK_ROOT}/skills/kubernetes-containers/SKILL.md) and Kubernetes operator development skill (${HANDBOOK_ROOT}/skills/kubernetes-operator-development/SKILL.md)
Review Workflow
1. Inventory
List changed or likely-stale areas:
git status --short
git log --oneline --since="2 weeks ago" -- rules skillsThen map rule/skill pairs manually. Do not assume every skill has a rule or every rule has a skill.
2. Drift Check
For each rule/skill pair, verify:
- Every requirement has one canonical owner.
- Rules contain only invariant gates and link to the canonical skill for procedures.
- Skill examples do not contradict the rule.
- Reference files demonstrate the current preferred pattern.
- Rule frontmatter uses supported
globs; skill descriptions name concrete files, tasks, and trigger phrases without overlapping unrelated skills. - README skill index still lists new skills.
- Cross-links are clickable Markdown links, not backticked paths, when intended for navigation.
3. Unsafe Example Scan
Search for code examples that teach weak or outdated patterns.
Use targeted scans, not broad rewrites. Examples:
rg -n "context\\.TODO\\(|cfg, _|http\\.ListenAndServe\\(|FROM alpine:latest" rules skills
rg -n "JSON\\.parse\\([^\\n]+\\) as|await response\\.json\\(\\) as|skipLibCheck\\\": true" rules skills
rg -n "echo -e|echo .*\\| tee|for .* in \\$\\(|set -x\\s*$" rules skills
rg -n "privileged: true|hostPID: true|allowPrivilegeEscalation: true" rules skills
rg -n "python:3\\.1[0-3]|python-version: ['\\\"]3\\.1[0-3]" rules skillsTreat matches as findings only when the surrounding prose is teaching the pattern. Do not "fix" reject-list examples that intentionally show bad code.
4. Freshness Check
For fast-moving ecosystems, verify current docs before changing standards:
- Cloudflare Workers / Wrangler / Vitest pool workers
- GitHub Actions versions
- Python / Go / Node current runtime baselines
- Kubernetes Pod Security Standards and admission behavior
- AWS IAM / EKS / workload identity patterns
Use official docs or the repo's existing web-research workflow. Cite URLs in the commit message or PR summary when the update depends on current external facts.
5. Apply Only High-Confidence Fixes
Apply immediately when:
- An example contradicts an existing rule.
- A skill is missing a rule's non-negotiable.
- A stale version is clearly below the repo's stated baseline.
- A path intended for navigation is not clickable.
- A security-sensitive example is unsafe without being labeled as bad.
Do not apply broad rewrites when:
- The correct choice is architectural or context-dependent.
- The source docs are ambiguous.
- The change would churn many files without clear behavior improvement.
- A skill's scope may need product-owner input.
Capture those as TODOs instead.
6. Validation
Run targeted checks for touched files:
git diff --check
pre-commit run --files <changed-files>For any skill with an evals/evals.json, also run:
uv run python -m evals.skill_eval validate
uv run python -m unittest discover -s evals/tests -vRun a model-backed with-skill versus baseline comparison when a change affects triggering, workflow order, required outputs, safety gates, or other behavior covered by the suite. Follow the eval harness documentation (${HANDBOOK_ROOT}/evals/README.md); do not put model credentials or paid runs in pull-request CI.
If broad pre-commit is too large or noisy, run targeted hooks and clearly report any skipped checks.
Output Report
End every pass with a short report:
## Skills Continuous Improvement Report - YYYY-MM-DD
### Changed
- <file or skill>: <what changed and why>
### Findings Fixed
- <issue>: <fix>
### Deferred Follow-ups
- <follow-up>: <why deferred>
### Validation
- <checks run>
- <known residual warnings, if any>Guardrails
- Prefer small, reviewable commits grouped by domain.
- Do not "modernize" examples unless they conflict with current rules or current official docs.
- Preserve intentional BAD/GOOD examples; make the label clear instead of deleting the BAD example.
- Do not change unrelated user edits in a dirty tree.
- Do not add always-on behavior to skills. If guidance must always load, put only the invariant gate in a rule and keep the workflow in a skill.
- Do not mirror full rule sections into skills or full skill sections into rules.
- Keep eval fixtures synthetic and public-safe. Never use production credentials, customer data, private incidents, or live external mutations.
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
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.

