add-module
Skill0 starsChanged 34 days agoMITView on GitHub
Add or extend a module for one of the book's chapters, with tests, in this repository's conventions. Use when creating a file under src/ai_engineer or adding a public function that a chapter will print.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- helmut-hoffer-von-ankershoffen/heinzeltheir own version, first seen Nov 8, 2026
- heytcass/claudeostheir own version, first seen Oct 29, 2026
- Cassius2584/claude-uni-workspacetheir own version, first seen Oct 22, 2026
- testcontainers/testcontainers-nodetheir own version, first seen Oct 17, 2026
- ai-erp-collab/deterministic-context-routing-plugintheir own version, first seen Oct 15, 2026
- fullstackhero/dotnet-starter-kittheir own version, first seen Oct 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- fullstackhero/dotnet-starter-kit★ 6.9ksame name
- testcontainers/testcontainers-node★ 2.6ksame name
- Cassius2584/claude-uni-workspace★ 5same name
- helmut-hoffer-von-ankershoffen/heinzel★ 2same name
- serhii12/vault-os★ 2same name
- AURORA-NEURO/aurora-agent★ 1same name
- heytcass/claudeos★ 1same name
- ai-erp-collab/deterministic-context-routing-plugin★ 0same name
- alimranfakir/Claude_skills★ 0same name
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 skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Read two existing modules in the same package and their tests, and match them.
- Very specific: line 13
Create or extend src/ai_engineer/<package>/<module>.py:
- Very specific: line 19
Write the tests beside the code, in the test folder for that part of the book: tests/foundations/ (Volume I), tests/ml/ (Volume II), …
- Very specific: line 25
If the chapter will print only part of a function or test, wrap that part in # region kebab-name and # endregion.
- Very specific: line 27
Run make check and fix every finding.
“Common” is measured: kept by at least 6 in 10 of the 8 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
Add a module for a chapter
The request: $ARGUMENTS (for example rag/rerank 29).
- Read two existing modules in the same package and their tests, and
match them. Read
.claude/rules/src.mdand.claude/rules/tests.md. - Create or extend
src/ai_engineer/<package>/<module>.py:- The docstring's first line is
Chapter N: <what it does>. from __future__ import annotationsfollows the docstring.- Time, sleep, randomness, models and storage come in as parameters, with the real implementation as the default. Nothing touches the network or the disk at import time.
- The docstring's first line is
- Write the tests beside the code, in the test folder for that part of
the book:
tests/foundations/(Volume I),tests/ml/(Volume II),tests/agentic/(Volume III), or a new folder named after the package for later volumes. Pin examples with the arithmetic in a comment, state properties with Hypothesis where a law exists, and use fakes rather than mocks. - If the chapter will print only part of a function or test, wrap that
part in
# region kebab-nameand# endregion. - Run
make checkand fix every finding. Never weaken an assertion to make a test pass; if a test is wrong, say why. - Finish with a short report: the public names you added, since the book may quote them, and what each new test pins down.
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.

