develop
Skill1.2k starsChanged 17 days agoMITView on GitHub
Run a LeafWiki change through the full agent workflow — plan, architecture check, implement test-first, independent test, independent architecture, code and security review — with a human gate before implementation (tier feature) and before push. Use for any feature, refactor or non-trivial bug fix; pass the issue number or a description as argument.
28 other projects use a version of this.
Trending
Less talk lately.thin dataabout the whole repository
Most recently taken up by
- killerseven7777777/matt-skills-relaytheir own version, first seen Nov 8, 2026
- lalulali/vespyrtheir own version, first seen Nov 6, 2026
- chippingway/chipping-orchestratortheir own version, first seen Nov 5, 2026
- Blakeem/aipromptguide-workflowstheir own version, first seen Nov 4, 2026
- javiarmesto/ALDC-AL-Development-Collectiontheir own version, first seen Nov 2, 2026
- ok-oldking/ok-scripttheir own version, first seen Nov 1, 2026
Who's talking about perber/leafwiki
- @chrisshort.net“perber/leafwiki: LeafWiki - Self-hosted wiki. Single Go binary, SQLite, Markdown on disk. No external …”Bluesky · Jul 11, 2026 · 2 likes
- YunoHost-Apps/leafwiki_ynh“Upgrade to v0.14.2”GitHub · Oct 22, 2026
- YunoHost-Apps/leafwiki_ynh“Upgrade to v0.14.1”GitHub · Oct 9, 2026
- shukiv/jabali-panel“More docker apps suggest”GitHub · Jun 14, 2026
- kuaizhongqiang/AgentRouter“[P2] 集成 LeafWiki 作为内置 Wiki:静默子进程 + MCP 工具,不 Fork 源码”GitHub · Jun 4, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
Used with
Projects with it also use scope, sync and 10 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.
YuriNachosSkillscope
Configure claude-scope status line widgets for Claude Code. Use when user wants to customize widgets, change theme, reorder elements, or modify display style.
Also in 6 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 6 projects that use this
nicolasestremSkilldocument
Create focused documentation for specific components or features
Also in 5 projects that use this
kt057Skillcheck
lint, typecheck, test を一括実行して結果をサマリーする
Also in 5 projects that use this
Harut8Skillarchitect
Also in 9 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 9 projects that use this
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- jsmastery-pro/skills★ 1.4ksame name
- ok-oldking/ok-script★ 831same name
- quantumaikr/quant.cpp★ 403same name
- javiarmesto/ALDC-AL-Development-Collection★ 115same name
- chippingway/chipping-orchestrator★ 18same name
- alexiolan/craft-skills★ 17same name
- axiomantic/spellbook★ 11same name
- lalulali/vespyr★ 11same name
- flurdy/agent-skills★ 9same name
- martinappberg/chimaera★ 7same name
18 more not listed
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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs-reviewSkill
- runSkill
- tidy-testsSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
4
Distinctive
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
- Distinctive: line 31
When unsure between two tiers, take the higher one.
- Very specific: line 70
Fix rounds check the delta, not the whole change: Only the checker that raised a blocking finding looks again, and it is continued …
- Distinctive: line 80
Findings need evidence: Only findings with a concrete location and proof (file:line plus a failing test, a triggering input, or the exact …
- Very specific: line 86
Check the commit history before hand-over: the implementer commits the production change (with the minimal call-site/test updates it …
- Distinctive: line 94
Stop after three fix rounds without convergence and ask the person.
- Distinctive: line 96
test, review and security results,
“Common” is measured: kept by at least 6 in 10 of the 23 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.
Files
Develop a change
Each phase runs as its own agent with a fresh context (.claude/agents/<role>.md). The
agents that check the work (architecture-reviewer, reviewer, tester, security-reviewer) get only the plan and the
diff, never the implementer's reasoning, so they judge the code and not the intent.
Keep the orchestrating session small. Its whole context is re-read on every turn, including
every wake-up from a background task. Leave long test runs, waiting and browser checks
(screenshots) to the roles and take back only their short reports. The orchestrator is
usually the most expensive part of a run (see agent_cost.py below): a session that grows to
hundreds of turns costs more than all its subagents together. Once a PR step is handed over,
continue in a fresh session; the plan and state live where the local overlay says, not in the chat.
0. Pick the tier
The process scales with the change. The planner proposes the tier; the person can raise it, never lower it.
| Tier | Typical changes | Phases |
| trivial | typo, rename, comment, docs, dependency bump | implementer → CI checks. No plan gate. |
| normal | bug fix or small change inside one slice/feature, no new extension point, no API change | implementer (test-first) → tester (edge cases only) → architecture-reviewer + reviewer |
| feature | new feature, new extension point, API or format change, change across several slices | all phases, plan gate |
| + security | anything touching rendering, URLs, uploads, served files, auth, roles, routes, paths, archives — any tier | add security-reviewer, in parallel with the reviewers |
When unsure between two tiers, take the higher one. Skip the phases a tier doesn't list; don't skip the ones it does.
1. Plan — planner (tier feature)
Give the planner the issue/description, then let the architecture-reviewer check the plan
(blocking findings → back to the planner). Show the plan to the person and wait for
approval. Keep it to one screen; the full detail can follow in the PR description.
Open questions get answered by the person, not guessed. Write the agreed plan where the
project's local overlay says plans go (without one: into the PR description later).
2. Implement — implementer
One PR-sized step at a time, in an isolated git worktree on its own branch (created from
origin/main). A fresh worktree has no node_modules: run npm ci --ignore-scripts in
ui/leafwiki-ui (and e2e if needed) before any frontend check; don't symlink another
checkout's node_modules, versions may differ. Pass the approved
plan and the step number. The implementer works test-first and reports commands and results.
3. Test — tester
Pass the plan and the diff. Failures → back to step 2. The tester runs before the reviews so
that its new tests are part of the reviewed diff: commit them as test(<area>): … before
step 4. The tester's manual checklist for UI changes goes to the person; it holds only what
e2e, component or unit tests can't cover.
4. Review — architecture-reviewer, reviewer, security-reviewer
Pass the plan and git diff <base>...HEAD; the reviewers run in parallel, each once. The
architecture-reviewer checks SOLID, Open/Closed, extension points and layering; the reviewer
checks correctness, conventions, tests (including the tester's) and size.
The security-reviewer is required when the plan's "Security surface" section says yes, and
always for changes under ui/leafwiki-ui/src/features/preview/, file serving, uploads, auth,
routes, paths or archives. It covers both the LeafWiki checklist and a general sweep, so no
second security pass (such as the built-in /security-review) runs on the same diff.
Blocking findings (security: medium or higher) → back to step 2 with the findings list.
Fix rounds check the delta, not the whole change. Only the checker that raised a blocking
finding looks again, and it is continued (SendMessage to the same agent) rather than started
fresh: it already knows the conventions and the diff. Give it git diff <fix-base>..HEAD and
ask whether its findings are resolved and the fix broke nothing nearby. A fix that changes
behaviour also goes back to the tester the same way.
Different eyes: the checking roles share the implementer's blind spots when they run on the
same model. Where the tool allows it, run them on a different model (model: in the agent
file's frontmatter); keep the implementer on the strongest coding model.
Findings need evidence. Only findings with a concrete location and proof (file:line plus a failing test, a triggering input, or the exact rule violated) can block. Everything else is a note for the person, not a fix round.
5. Hand over
Check the commit history before hand-over: the implementer commits the production change (with
the minimal call-site/test updates it forces) and test: tidy <area> separately; tests the
tester added go into their own commit (test(<area>): …). Squash fix-round commits into the
commit they fix, so the history reads as clean, separate steps. If a docs file under docs/development/ states something this change makes
untrue (e.g. a listed exception), fix it in the same PR or note the order dependency with the
docs PR.
Stop after three fix rounds without convergence and ask the person. Otherwise report:
- the diff summary and changed-lines count (code only, ≤ 400–500),
- test, review and security results,
- the token cost per role:
python3 .claude/skills/develop/agent_cost.py <session-id>(the orchestrating session's id; it includes its subagents), - the manual test checklist for UI changes, limited to what automation can't cover — a UI change with manual items is not done until a person ran them (no items: say why),
- anything noticed out of scope (as follow-up issues),
- process feedback: where the workflow or a rule got in the way, was unclear or missed something. These rules are expected to change as we learn; record the observation where the local overlay says (without one: in the PR description) so repeated friction turns into a rule change.
Local commits are fine; do not push, open a PR or comment on GitHub without the person's explicit OK. After the PR is merged,
remove its worktree (git worktree remove <path>), see the worktree-cleanup skill.
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.

