dowel
CLAUDE.md2 starsChanged 13 days agoMITView on GitHub
example/ is a Flutter app, so resolve it with flutter pub get; the package itself is pure Dart. A change is not done while any of these is stale: CHANGELOG.md [Unreleased], README.md, llms.txt, the affected doc/ page, skills/dowel/ and ARCHITECTURE.md. Then run the format, analyze, test and docs commands above. Red, green, refactor: the failing test comes first, and reverting the implementation must turn it red again. Branch from master as <type>/<topic> (feat, fix, chore, docs, refactor, test, release) and…
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fluttersdk/artisanword for word, first seen Nov 18, 2026
Other versions1 project uses a version of this.
Word for word · 1
- fluttersdk/artisan★ 2100% same
Edited · 0
None found.
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.
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
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
- Distinctive: line 36
Before changing module boundaries or a main flow, read ARCHITECTURE.md.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
<!-- Generated by ac:claude-md-rules-creator on 2026-11-14. -->Stack
example/ is a Flutter app, so resolve it with flutter pub get; the package itself is pure Dart.
Commands
| Command | When |
dart test --timeout=30s --reporter=failures-only < /dev/null | All tests. The redirect and reporter are not optional outside a TTY: the default reporter redraws a terminal and the prompt suite reads stdin. |
dart test --tags=integration | Integration tests (minutes, needs network). CI excludes them; run them before tagging a release. |
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib | Coverage; CI fails below the 80% line floor. Without --report-on=lib the report counts dependencies and tests and reads about 48%, which looks like a regression. |
dart format lib/ test/ bin/ example/lib/main.dart | Format; no diff allowed. The rest of example/ is generated or Flutter scaffold and stays out. |
dart analyze lib/ test/ bin/ | Zero issues. |
python3 tool/check-docs.py | Docs gate: page shape, relative links, fragments, ToC reachability. 0 issues. |
dart pub publish --dry-run | Archive check; 0 warnings on a clean tree (the only expected one before a release is the missing CHANGELOG section for the new version). |
Post-Change Checklist
A change is not done while any of these is stale: CHANGELOG.md [Unreleased], README.md, llms.txt, the affected doc/ page, skills/dowel/ and ARCHITECTURE.md. Then run the format, analyze, test and docs commands above.
Development Flow
Red, green, refactor: the failing test comes first, and reverting the implementation must turn it red again. Branch from master as <type>/<topic> (feat, fix, chore, docs, refactor, test, release) and open a PR into master.
Testing
- Tests mirror the
lib/src/layout (lib/src/installer/plugin_installer.dartis covered bytest/installer/plugin_installer_*_test.dart). - A test that spawns a real toolchain (
flutter create,dart pub get) carries theintegrationtag (dart_test.yaml).
Architecture
bin/dowel.dart is this package's own entry point, never a consumer wrapper: a consumer project's wrapper is bin/dispatcher.dart, rendered by dowel install from assets/stubs/dispatcher.dart.stub, and defaultConsumerWrapperName ignores bin/dowel.dart so dowel never delegates to itself.
Before changing module boundaries or a main flow, read ARCHITECTURE.md; update it in the same change when a boundary, flow or invariant moves.
Key Gotchas
| Mistake | Fix |
Editing lib/app/_plugins.g.dart or lib/app/commands/_index.g.dart (this repo's copies live in example/) | Generated; run commands:refresh or plugins:refresh |
Running a command that uses the session (reload, stop, tinker, a plugin's <package>:*) in a git worktree before dowel start there | Run dowel start in the worktree first, or pass --state=<path>. sessionOwnershipError passes when the worktree sits inside the project root the main app recorded (an app at the repo root, the worktree under .claude/worktrees/<slug>/) and for state with no recorded projectRoot; the command then acts on the main app and reports success. A sibling checkout, or an app in a subdirectory the worktree is not inside (this repo's example/), is refused. MCP plugin tools and dowel_tinker run no check, and an MCP server falls back to the shared pointer when its own project has no session. --state=<path> skips the check, and a missing file falls back to the pointer too |
Committing .dowel/ | The suite writes install records into it in the repo root; it is gitignored, never force-add it |
path: dependencies in docs or the archive | Docs use the caret form or dart pub add; install picks the dependency shape itself |
| Comparing the signature DSL to another framework's console, by name or as "X-style" or "X-inspired", in code, docs, comments, commits or README | Forbidden; describe the signature DSL on its own terms |
| An em or en dash in authored text | Comma, colon, semicolon, period or parentheses |
| Lifecycle commands on Windows | start, stop, reload, hot-restart use a POSIX FIFO; macOS and Linux only |
Conventions
- Signature DSL first (
'cmd:name {arg} {--flag}');configure(ArgParser)only for what it cannot express.final classon every new public type. - A new persistent write stages
<path>.tmpand renames over the target, so open editors and lint daemons never see a partial file. - MCP tool descriptions open with an imperative sentence and keep the critical information first; clients truncate at 2 KB.
- Numbered step comments for methods with three or more phases;
///only on public API.
Release
release: X.Y.ZPR: bump every stamp, promote[Unreleased]to## [X.Y.Z] - YYYY-MM-DDwith its footer compare link.- Stamps:
pubspec.yaml;dowelVersioninlib/src/console/dowel_version.dart, the only version literal in code (dowel_version_test.dartandmcp_server_version_test.dartguard it);example/pubspec.yamlandexample/packages/awesome_plugin/pubspec.yaml(flutter pub getfails when they drift);server.json(server_json_version_test.dartguards it; the MCP registry never rewrites a published version). The skill keeps its ownversion:inskills/dowel/SKILL.md. Docs that quote the caret constraint track the released version. - After it merges, tag the merge commit with the bare version:
git tag X.Y.Z && git push origin X.Y.Z.publish.ymlvalidates it (tag onmaster,pubspec.yamlandserver.jsoncarry the version, pana 160/160, a CHANGELOG section), publishes through OIDC, creates the GitHub Release and publishesserver.jsonto the MCP registry (themcp-registryjob, stable tags only; the registry holds a version once, so a re-run after success fails with "already exists"). - A recovery after a failed
Validateis forward: delete the tag, fix on a PR, tag the new merge commit.
CI
master is protected; the required checks are Lint & Test (ci.yml), Changelog and Internal Links.
Changelog(changelog.yml): a PR that changeslib/,bin/orassets/must changeCHANGELOG.md; Dependabot,release:PRs and theskip-changeloglabel are exempt.Internal Links(docs-link-check.yml) runs the docs gate plus an offline lychee pass;External Linksruns Mondays and is not required.
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.

