Why any of this
An AI assistant is fast, but it drifts. It guesses file paths, invents an API that changed two versions ago, writes plausible slop that compiles and quietly rots, forgets everything between sessions, and either asks permission for every keystroke or silently does the wrong thing. Essentially a brilliant intern with amnesia: types faster than you, but by lunch can't recall your name.
What helps is not another tool, but a simple way of working: short rules, ready-made flows for common tasks, and a few useful notes. It asks the agent to understand first, then change files; to say when it is unsure; and to keep important context between sessions.
This page shows what is inside. The method grew out of a real project, but is not tied to a language, model, or tool. Download the kit and place it next to your project - whether that is a personal folder on your computer without Git or a shared repository.
Who it's for
- Anyone already living with an AI agent and tired of explaining the same thing a third time.
- Anyone who wants the agent to verify, not guess - and to admit where it isn't sure.
- People building a personal project in a local folder, solo developers, and small teams: a working routine instead of habits that live in one person's head.
- Not only programmers. If your work is files someone later reads - analysis, documentation, contracts, procedures, audit, bookkeeping - the method fits in full, minus the code layer. Working papers, reconciliations and a month-end close are artifacts whose checks either hold or fail. Section 02 translates its vocabulary into five kinds of project and says plainly where the limits are.
- Any stack, almost any tool. Claude Code works out of the box; Cursor, Cline, Codex, Aider take light adaptation.
What it isn't - a silver bullet. The method doesn't make the agent smarter; it just keeps it from shooting itself in the foot and forgetting it had one.
And where it bites. The method has sharp edges of its own: pile ceremony onto a one-line change and you've made work; a stale index or map misdirects worse than none; parallel writers quietly clobber each other; memory rots when no one prunes it. Most of these are failures of too much method, not too little - the fix is the lowest rung that proves the change, and tending the indexes and memory you keep.
Almost every rule carries a measurement and a date, for a simple reason: the difference between a rule people follow and a rule people nod at is measurable. A directive with a mechanical check behind it was followed ~99% of the time; the same directive as prose, 1-8%; and the best case ever recorded for prose - advice sitting in the tool's own description, re-read every single turn - was 22%. So the kit tries never to say "this matters" without saying what it cost when it was ignored. It also drops its own recommendations when the measurement comes back against them: one hook this kit used to recommend turned out to have a measured reach of zero, and now ships as a worked example of the question nobody asks - how many of the events I care about actually pass through here?
The method grew out of a mature Android project: rules, skills, roles, a spec catalog, and agent memory are run every day. Everything Kotlin-, Gradle-, PowerShell-, and locale-specific was stripped out of the kit - the portable skeleton remains.
Nine principles, one screen
Research first
Never guess a path or behaviour. Read the map, then the code. Persist findings, don't re-grep.
Split what from how
Strategy (problem, goals, constraints) is written before tactics (files, signatures, order). The single most valuable habit.
Plan verifiably
Every step ends in a static check - "file exists", "symbol declared", "command exits 0" - never "works correctly".
Cheap when small
A typo is /quick, a narrow bug is /fix. A spec only where real decisions exist.
Autonomy over bureaucracy
Don't ask permission to read, search, build, test. Flag real blockers up front, not after burning a turn.
Clean from the start
No slop: empty catches, trivial comments, hardcoded values, dead weight. Catch it in review.
Remember across sessions
File-based memory keeps what the runtime forgets: preferences, decision rationale, project context.
Status from reality
A ticket's status is true because the code makes it true - never inferred from a filename or a hope.
Several agents at once
Readers parallelize for free. Writers need a checkout each: one whole-tree VCS command reverts every other writer's uncommitted edits, on files it never touched.
What kind of project is yours
The method grew out of software work, and that is where its examples are sharpest. What it rests on is not a compiler but five things: a workspace with history, artifacts - what the work produces and someone later reads, work items with an honest status, checks - a question about an artifact that gets answered without anyone's opinion - and an agent that can read and write your files. With four of the five it still works, and you will feel the gap exactly where the fifth should have been.
Below is the method's vocabulary in five kinds of project. The rest of the article is written in the first column; find yours and read through it.
Software
Artifact: a module, a test, a migration.
Map: README, the architecture doc.
Cheap check: compile, lint.
Done: the behaviour works end to end.
Data & analysis
Artifact: a query, a notebook, a published figure.
Map: a data dictionary and a list of sources.
Cheap check: the query parses; row counts match the source.
Done: the number in the summary traces back to a row in the source.
Writing & docs
Artifact: a chapter, a page, a locale, a diagram.
Map: a table of contents and an owner per section.
Cheap check: dead links, heading structure, length budget.
Done: a reader who was not there can act on it.
Legal & compliance
Artifact: a clause set, an agreement, a filing, a policy.
Map: the matter index: parties, versions, governing docs.
Cheap check: every defined term is used; cross-references resolve.
Done: it survives the other side reading it adversarially.
Operations & admin
Artifact: a procedure, a checklist, a register, a form.
Map: the catalogue: who owns what, and where it runs.
Cheap check: the form validates; required fields present; no gaps in the register.
Done: someone else ran it from the text alone.
The most common reason people decide the method is not for them: nothing here compiles, so there is nothing to check. Test that belief before you accept it - ask the question the other way round: what would you be embarrassed to send? Every answer is a check, and most are one command or one careful search away: a total that must match another total; a name that must exist somewhere else; a structure that must hold; a reference that must still resolve; a rendering that must succeed. The difference between a check and a good intention is exactly one thing: a check gets run.
And what to delete rather than adapt. A rule kept "just in case" on a project it cannot apply to is noise, and noise trains everyone to skim. If nothing here imports anything, delete the layering and the dependency direction. If your artifacts leave no execution trace, delete the verification tags. The compile rung simply disappears and your ladder starts one rung higher. The full translation table, with the method's honest limits, ships in the kit: docs/PROJECT_SHAPES.md.
Where it honestly will not help: where nothing at all can be checked mechanically it degrades into a checklist with good manners - the what/how split, status from reality and the ban on "should work" all survive, but the enforcement is gone. Where the artifact is one flowing document with one author, the ticket machinery is overhead: take the rules, /quick, /fix and the memory. And where the work is not files at all - a conversation, a negotiation, a decision nobody wrote down - the method has nothing to say. Write it down first; then it is a project.
In the portal: Adopt and adapt
The main rules file
This is one short file the agent reads at the start of work. It says how to communicate with you, where to look for code, how to check results, and when to ask rather than guess. Other materials can point to it.
The important part is to keep it short. It is not an encyclopedia: details live in docs/, while this file has only the essentials and a hint about which ready-made prompt to use. In the kit it is AGENTS.md, which most tools read; Claude Code's CLAUDE.md only imports it. Where a tool wants its own name - a Cursor rule, GEMINI.md - the purpose is the same.
Its placeholders come in two tiers: twelve that any project needs (including <CHECK_CMD> for a check taking at most 5 seconds and <RELEASE_CMD> for the full build and every test tier at release), and six only for projects that build or run. If yours does not, the rules using those six get deleted rather than filled with guesses.
In the source project CLAUDE.md is ~12 sections, including a build-flavor matrix and PowerShell rituals. The kit keeps the transferable skeleton and drops the project machinery: you fill the <PLACEHOLDER> tokens for your stack.
In the portal: Rules the agent follows
Skills: slash commands
A skill is a reusable prompt that encodes a workflow. Type /spec and the assistant follows a written procedure instead of improvising it again. The good procedure is written down once, not re-derived each time. In tools without slash commands, the same skill is a prompt file you point at.
The spine is a pipeline that carries an idea to verified code:
/research gather evidence, persist it (before anything non-trivial) /spec the strategic what/why Draft → Approved /spec-tech a phased, verifiable plan Approved → Tactical /spec-dev execute one step, check each Tactical → Implemented /spec-check audit the build against the spec → Verified / Partial / Broken /spec-fix mechanical repair after an audit Partial / Broken → re-audit /spec-all drive the whole pipeline at once idea → verified
A real skill, not a slide. /spec-check reads the repo and refuses to call a ticket done on an unproven path - then hands the mechanical fix to /spec-fix. (illustrative)
$ /spec-check T0207 T0207: auditing the strategic spec + 3 phases against the repo.. PASS file exists export/CsvWriter PASS symbol declared writeRows(rows) PASS no forbidden call grep raw-logger -> 0 hits WARN dead weight old ExportHelper still wired in the container MANUAL export writes a valid file on a real run PASS changelog an entry for every touched file verdict: BlockNeedUserTest (PASS 6 / WARN 1 / FAIL 0) was "Implemented" -> downgraded: the build is sound, but the headline behaviour is unproven until a human runs the export once. next -> /spec-fix drops the orphaned ExportHelper binding, then re-audits.
Below the pipeline sit the cheap paths: /quick (typo), /fix (narrow bug). Before anything user-facing, /ui-clarify; the help of every window an application draws is decided there too - F1, a ? button and an explanation, asked for or not. For brevity, /caveman. Plus /git, /prove, /critique.
Two disciplines live beside the pipeline, not inside it:
- Park, don't chase (
/park). Hit a real but out-of-scope problem mid-task - bigger than a one-line fix, needs its own look? Record it as a stub, dedup against what's already filed, report it in one line, and return to the task. Never switch the active task to chase a parked finding; fix trivial things inline, drop cosmetic nitpicks. - Drain the backlog (
/backlog). A zero-input driver: pick the highest-priority eligible ticket, run the pipeline, repeat - until nothing is left the agent can advance alone. Two guards keep it safe: a skip-cache so an un-advanceable ticket isn't re-picked next loop, and no mid-loop questions - every human-gated ticket lands in one end-of-run report.
And a rule for the human questions themselves: triage a fork before surfacing it. If an external convention settles it, research that and recommend; if the architecture settles it, state it as a derived consequence. Reserve real questions for product scope, taste with no anchor, and irreversible actions. "Better to ask than guess" doesn't apply when research or the code already answers - surfacing a settled fork as a choice reads as not having done the homework.
In the portal: Skills: workflows as slash commands
Helpers for different tasks
These are role briefs with a trimmed tool set. An orchestrator carries a request to verified code; a researcher only reads and returns a report; an implementer writes code to a plan; a doc-writer produces human prose and UI copy.
- Why restrict tools: a researcher that cannot write cannot corrupt files by accident.
- Parallelism: several agents dig independent questions at once - local code and external docs in a single pass.
- Each role gets its own memory: a researcher's notes don't crowd an implementer's index.
Parallelism is a pure win for readers; parallel writers need care:
- Writers clobber through shared VCS state. One agent's whole-tree op - stash, checkout, reset, restore - reverts every other writer's uncommitted edits, even on disjoint files. The orchestrator owns VCS and build between waves, or each writer gets its own checkout.
- A subagent's report is a claim, not a verdict. Re-validate from the orchestrator's own clean state. A reported failure is often a phantom of a stale incremental build; a reported "compiles in isolation" is just as unproven.
- Delegation has a tail bias. A subagent spends its budget on the heavy early phases and truncates the last one - docs, wiring, cleanup - while its report says "done". Verify each deliverable exists and runs.
- Isolation is also a budget lever: run a bulky-evidence task in a throwaway agent that returns one compact verdict, so the artifacts stay in the child.
In the portal: Role agents
A task, from idea to checked result
A spec answers two different questions that must not be muddled:
- Strategy (what/why): the problem, goals, constraints, open questions. No class names, no paths. If a reviewer disagrees here, you saved an implementation.
- Tactics (how): the exact files, symbols, and order, each step ending in a check. If a step is ambiguous, the executor stops instead of guessing.
Draft ─► Approved ─► Tactical ─► In Progress ─► Implemented ─► Verified
│ │
└─ rough is fine here └─ an audit may yield instead:
Partial (warnings)
Broken (a failure)
plus explicit block states: BlockNeedUserTest, BlockQuestions, BlockExternal, ..
Before phases comes a complexity gate - a graded ladder, not a switch. A typo is /quick; a narrow bug is /fix; a small deterministic change (≤3 files, no new public types, no migration or DI wiring) ships as a three-section primitive; everything else runs the full pipeline. Pick the lowest rung that still proves the change, and ceremony stays proportional to the work.
The phase graph is designed in three passes: a coverage inventory (every goal maps to a phase or is marked out-of-scope), a produces/consumes topology (no phase consumes what a later phase produces), and a real-work filter (a step changes code, not plan text). Every step ends in a static check.
When a ticket awaits a manual check, a temporary log line LOG("ID: what this path proves") goes at each changed-flow entry point. The invariant: such a tag exists iff the ticket is in that waiting status. During a hands-on run you grep the log for ID: and see which paths actually executed. The audit deletes the tags on the Verified transition; a ticket id never lives in a permanent log.
Status comes from reality, and that bites at entry too: a ticket reaches "awaiting test" only when its headline behaviour already works end-to-end. A compiled scaffold that only logs or shows a placeholder is a milestone, not a deliverable - don't invite a human to test a no-op.
Block states get a defined exit, not just an entrance: clear a question-blocked ticket by settling what the code already determines, asking the owner only the genuine judgment calls (with a researched default), and advancing one level. And the lifecycle ends somewhere - an Archived soft-delete moves a cancelled ticket out of the active set but keeps its record, so nothing is ever hard-deleted.
Guards split by what they check: a mechanical invariant hard-stops; a judgment call only informs and leaves go/no-go to the agent - hard-blocking on a heuristic just breeds bypasses. And a destructive step the plan already safeguards is no reason to invent a confirmation gate.
In the portal: Spec lifecycle
Persistent agent memory
The runtime forgets everything between sessions. Code, specs, and git persist - but how you like to work, why a past decision went the way it did, and which corrections you already gave do not. Re-teaching that every session is the biggest hidden tax - like re-introducing yourself every morning to a colleague who rewrote half the project with you yesterday.
The fix is a small, file-based memory in memory/ under version control: an always-loaded MEMORY.md index plus one file per entry. Four types:
user who the person is: role, expertise → how to explain feedback how to work here - corrections AND praise → never give the same tip twice project living context: who, what, why, by when → decays fast reference a pointer to an external system + purpose → where to look
The hard part is restraint. Don't store what is derivable from the repo or from git history, or that is just a fix recipe - those already live in the code and commits. And verify before recommending: a memory naming a function or path is a claim that it was true when written. Before acting on it, grep whether it still exists.
Durable memory is for facts worth keeping; the in-flight state of one interrupted task is not - keep them apart. For a task that spans a break, bookend it: at each phase boundary write a short handoff (goal, what changed, decisions, open blockers, the single next step), and on resume read the latest handoff before touching anything.
One caveat the word "persist" hides: the working tree, not git history, is the authority for what's done now. git log, blame, and diff answer "how did we get here", and they actively mislead when one file carries several tasks at once. Resume by reading the live files, then correct the trackers - never infer present state from a diff.
In the portal: Persistent memory
Research order & the index of your material
The most expensive thing the assistant does is guess. A guess looks like progress and costs a full wrong implementation. The cure is a fixed search order: map → spec → code index/grep → code → external docs. Stop as soon as a source answers.
One rule under all of it: if you state a path, a symbol, or an API, you have verified it. For a large repo, keep a queryable index of code units: query the index before you grep and regenerate it after you change code. A stale index is worse than none.
Two cheap guards extend the order. Keep an inventory of what the project already ships - a queryable list of capabilities - and scan it before designing a feature, so the agent doesn't rebuild under a new name something that already exists. And the map itself is an artifact you maintain: a feature-to-location lookup kept in step with the structure it describes, with someone owning its freshness - the same discipline the code index gets.
One sharpening of "verify, don't guess": a name is not behaviour. Before reasoning about what a flag or constant does, confirm a live read/call site - a comment or a doc mention is a hit, not a usage. Symbols go dead, get renamed in meaning, or never get wired up.
In the portal: Persistent memory
How to know it works
A step is not done when you intended it to work. It is done when a check passed in this run. The evidence is matched to the kind of change:
grep < run script < compile < targeted test < full build < run-and-observe doc script type change logic config/resources user-visible behaviour
Between releases run only checks taking 5 seconds or less. Run the full build, run-and-observe and slower tests at release or on an owner-named run; record deferred checks as RELEASE, not as passes.
Take the lowest rung that actually proves this change, and no higher. For every check, record expected: X | actual: Y - predicting the result before reading it catches the check that exited 0 while printing the wrong thing. "Works on my machine" is not a rung on this ladder - it's a superstition.
Two failure modes the ladder alone won't catch. "Done" is best as one fail-closed command that bundles the checks for the change kind - any one gate failing aborts the whole run non-zero, so "finished" means "all applicable gates passed", not "I remembered them all". And a green can lie: when commands are chained, piped, or backgrounded, the aggregate exit code often reflects a trailing wrapper, not the build or test you care about. Read the specific verdict line - a check that passes for the wrong reason is worse than no check.
A check has four answers, not two. Pass and found-a-defect are obvious; the third is could not verify, the fourth is not applicable in this configuration. A check with no way to say the last two will report one of the first two instead, and from then on it is lying. Two consequences. Validate the instrument before the subject: a physically impossible reading means the meter is broken, not that the subject failed - on one sweep that produced 5 "defects" out of 5 and 18 "unreachable" rows out of 28, every one of them false. And a false finding costs as much as a miss but is louder: once eighteen of them ship, a real defect is one row among them and nobody reads the report any more.
Before an irreversible step - a release, a publication, a filing, a send - the written verdict is that step's input, not a report filed beside it. The absence of a verdict is not a pass, and that is exactly how this gate fails: nobody breaks the rule, nothing ever goes red, and months ship unverified. The verdict must name what it judged (last time's verdict is precisely what a hurried hand reaches for) and must hang on the command that ships, not on a neighbouring one: in one project the gate existed, worked and was documented, while its own name appeared zero times in the release runbook.
Journal at the grain of the logical change, not the touched file: one entry per change, batching its files, and regenerate any index once per change - not once per edit. Left alone, an agent writes per-file noise that buries the story.
In the portal: Rules the agent follows
Anti-slop
Seven patterns an AI (or a tired human) emits easily that look fine and quietly rot - like a container forgotten at the back of the fridge: fine from the outside, until someone opens it. The rule is to not write them in the first place and flag them on sight. All seven are greppable:
catch
3 hardcoded value vs a token
4 lifecycle-unsafe async / global scope
5 logging past the facade
6 shipped stubs (TODO())
7 dead weight after a change
Each is mechanically scannable in a diff. Make the check part of "done", not part of "someday". If your stack has a linter, encode the patterns as rules so the gate is automatic.
Two things finish the loop. First, how do you adopt a rule on code that already breaks it? Gate on new violations, not all of them: freeze today's count as a checked-in baseline, fail only when it rises, and let the baseline ratchet down as you clean up - never up. The rule bites immediately, with no big-bang cleanup. That's the missing piece between "encode the pattern" and a real legacy codebase.
Second, a detector is only half the fix. A linter stops a human once; an agent re-emits the same pattern every generation. So close the source - add the matching DON'T to the always-loaded rulebook and reinforce it in the code-generating skills, so the agent stops producing the defect, not just flagging it after the fact.
And separately, what another project reads has one home, and it changes first. A file format, an export, an algorithm's constants that a neighbouring project depends on - that is a contract between projects. It lives in one place outside both, and each project keeps a pointer, never a copy: a copy drifts from the original at the first local edit. The contract changes before the code (a new version and a dated note); disagree, and you either amend the contract or record an exception with an expiry date. Silent drift is not an option.
User-facing docs are part of the change that alters behaviour, not a follow-up: the same change updates the doc, and a check fails when behaviour and its description drift. Keep an always-append "what shipped" log separate from the curated summary you regenerate at release.
In the portal: Rules the agent follows
How to adopt
The method is tied to neither a tool nor a model. Three situations below - pick yours.
A · A new or near-empty project
First let the agent build a map of the code with its built-in command - /init in Claude Code (or the equivalent in your tool). Then hand it this prompt to stand the project up on the method directly:
Prompt for a new project (English)
This is a fresh or mostly empty project folder. It may be a personal local project without Git. First run your codebase-init command (/init in Claude Code, or the equivalent in your tool) so you have a rules file and a basic map of the project. Then download https://github.com/SerZhyAle/universal-agent-kit/raw/main/universal-agent-kit.zip into a temp or scratch directory and unpack it locally; it extracts to a `universal-agent-kit/` folder that contains `merge-prompt.txt`. Use those extracted files as the source of truth: read `universal-agent-kit/README.md` first, then read `universal-agent-kit/docs/PROJECT_SHAPES.md` to see which rules apply to work like mine, then use `universal-agent-kit/AGENTS.md`, `universal-agent-kit/.claude/`, `universal-agent-kit/docs/`, `universal-agent-kit/memory/`, `universal-agent-kit/examples/` (to see a filled result), and `universal-agent-kit/merge-prompt.txt`. Do not use the article page as the primary source. If you cannot download files in this environment, stop and ask me to place the archive in the workspace. Set this project up on the method from those files: 1. Write the rules file my tool reads (AGENTS.md; CLAUDE.md only imports it for Claude Code / a Cursor rule / GEMINI.md - whatever applies) adopting the kit's structure: communication, research order, skill routing, the spec lifecycle, strict rules, anti-slop, post-change discipline. Fill in what already exists; use sensible defaults otherwise. 2. Create the skill files and the role briefs from the kit that fit a project of this kind. 3. Set up the plan directory, the scratch directory, and the memory folder with its index. 4. Name a fast check command taking at most 5 seconds and a release command that runs the full build and every test tier. If this project is code, also pick the build / test / lint / run commands for the stack I name - or propose a stack if none exists yet. Show me the plan first; create nothing until I approve.
B · An existing or personal local project
Takes a minute. This works even if the project is just a folder on your computer without Git. Ask your agent to download the archive, unpack it next to the project, and choose the most useful parts:
Prompt for an existing project (English)
Download https://github.com/SerZhyAle/universal-agent-kit/raw/main/universal-agent-kit.zip into a temp or scratch directory and unpack it locally; it extracts to a `universal-agent-kit/` folder that contains `merge-prompt.txt`. Use those extracted files as the source of truth: read `universal-agent-kit/README.md` first, then read `universal-agent-kit/docs/PROJECT_SHAPES.md` to see which rules apply to work like mine, then use `universal-agent-kit/AGENTS.md`, `universal-agent-kit/.claude/`, `universal-agent-kit/docs/`, `universal-agent-kit/memory/`, `universal-agent-kit/examples/` (to see a filled result), and `universal-agent-kit/merge-prompt.txt`. Do not use the article page as the primary source. If you cannot download files in this environment, stop and ask me to place the archive in the workspace. Then study THIS project folder and import what fits it. It may be a local personal project without Git; do not require Git or create a repository: 1. Draft an AGENTS.md (or merge into my existing rules file) that adopts the method, with every tier-1 placeholder filled from this project: project name, chat language, artifact language, map document, work root, a fast check command taking at most 5 seconds, a release command for the full build and every test tier, plan directory, scratch directory, size budget, read-only zones, and a simple way to name tasks (the ticket-id scheme). Fill the code-layer ones (architecture layers, build / test / lint / run, logger) only if this project builds or runs. 2. Recommend which skills (/research, /spec, /spec-tech, /spec-dev, /spec-check, /spec-fix, /quick, /fix, /prove, /critique) and which role agents are worth adding here, and say why. Consider /git only if this project already uses Git. 3. Tell me whether my runtime supports persistent agent memory and, if so, how to wire it up. Do not change anything yet. Show me the plan first; on any conflict, my existing files win.
A quick way to start. The agent shows a plan first and changes nothing without your approval.
C · An existing project - the detailed path
Download the kit, give the agent its folder together with merge-prompt.txt, and say: "Add Universal Agent Kit to my project." This also works with an ordinary local folder. The agent first makes a list of what is already there, what it can add, and where conflicts may happen. It then shows a plan and stops: nothing is silently overwritten. After you approve, it adds the chosen parts and fills the <PLACEHOLDER>s from the project.
Any tool
Two of the three pieces now travel on their own: the rules file is AGENTS.md, which most agent tools read natively, and the skills are in the open Agent Skills format (a folder with a SKILL.md). Only the role agents are an adaptation. Each tool names its folders its own way:
- Claude Code -
CLAUDE.md(importsAGENTS.md) +.claude/skills/*(ready-made/spec,/research..) +.claude/agents/*as subagents. - Codex, Cursor, Copilot, Gemini CLI, Cline, Windsurf -
AGENTS.mdas the rules file (Gemini CLI:GEMINI.md, orAGENTS.mdnamed in its settings); the skills in the tool's own skills folder, or in.claude/skills/where the tool reads it; roles paste in as system prompts, modes or presets. The exact folders are in the table for other tools, the same one as in theREADME.mdinside the kit. - The methodology in
docs/doesn't depend on the tool at all - it's just Markdown.
Any model - from strong to weak
The method doesn't depend on the model's power either - what changes is a few knobs, not the method:
- Strong (frontier, large context): holds more in its head. Bigger steps, more autonomy; you keep specs and checks for correctness, not to hold its hand.
- Regular: the method's sweet spot - specs, small verifiable steps, and the research order pay off the most.
- Weak, small, or local: you lean on the rules hardest - tiny steps, a check after each, short context, less autonomy. The method is what makes a weak model usable at all.
In the portal: Adopt and adapt
Common practices & where to read more
This kit isn't the only truth - it's one coherent set of habits. The habits themselves are common, and the teams who build these tools recommend the same ones:
- Keep the context lean. The context window fills fast and quality degrades as it fills. Start a fresh chat between unrelated tasks.
- Plan before code. Ask for an approach and a plan, approve it, and only then let the agent touch files.
- Two agents in a loop. One writes, another reviews or runs the tests; or tests first, then code to green.
- Make restore points. With Git, commit before and after a task. Without Git, copy the files or project folder you are changing, so an unsuccessful experiment is easy to undo.
- If you use Git, work in a separate branch. Check where you are before editing; do not commit straight to the protected or default branch.
- Write down repetition. Save a prompt you repeat often as a command or rules file. In a team, keep it in the shared project; for a personal folder, keep it next to the code.
- Script the release. Pin the version once into every artifact - tag, notes, build - so they can't drift; write release notes from a curated list of user-visible changes, not the raw commit log.
- Read the diff. The agent is fast, not infallible - don't merge what you didn't read.
The kit turns these from "nice to have" into a written process. The primary sources are worth reading in full:
Official "AI for development" guides
- Anthropic · Claude: Claude Code best practices · Effective context engineering
- OpenAI · Codex: Codex docs & quickstart
- Google · Antigravity: antigravity.google · Docs (Google's agentic IDE)
Links go to the vendors' official resources and open in a new tab. The method in this article works on top of any of these tools.
Keep it alive. The method needs upkeep: regenerate the index after changes, prune memory that's gone stale, lower ratchet baselines as you clean up, and revisit the skill routes as the project grows. An unmaintained index or memory is worse than none - budget a little tending, or the kit slowly starts to lie to you.
Provenance & license
Adapted from the .claude/ setup of a real Android project, FastMediaSorter. Android-, PowerShell-, and locale-specific machinery was removed; the transferable method was kept and rewritten to be neutral. Since then the same core has been reconciled against the author's wider portfolio - an Android app, Windows desktop apps, Go command-line tools, a browser extension - and the rules that survived every shape are the ones the kit carries. No source code or proprietary content is included - only the working method.
The kit is MIT. This article's prose is CC BY 4.0. Take it, remix it, adapt it to your projects.