Table of contents
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Setup
How to bring codeharness into a new project. This is a working procedure, not a normative rule — codeharness itself doesn't (yet) prescribe an attach mechanism; see the note at the bottom.
What you're copying
From the codeharness repository into your target project:
CLAUDE.md— the core file: router table + universal rules..ai-workflow/*.md— the topic files the router table points at.
Both are meant to be adapted, not dropped in verbatim. codeharness's own
README.md
says it plainly: it is a source of templates, and every consuming project
tunes it individually.
Procedure
- Copy
CLAUDE.mdand.ai-workflow/into the target project's root (or wherever your tooling expects project instructions — check your Claude Code setup). - Trim what doesn't apply. Not every project needs every topic file —
e.g. a project with no formal spec doesn't need
spec-discipline.mdwired in (that file is explicitly conditional — see File Map). Remove the corresponding router-table row too, so the table doesn't point at a file you deleted. - Adapt what's project-specific.
issue-tracker.mdassumes a Forgejo/Gitea/GitHub-style tracker (#N,closes #N, labels). A project on Jira or similar needs this file rewritten — the source file says so explicitly, it is not universal.- Branch roles (working/release/default) must be documented explicitly for the project — codeharness does not infer them from branch names.
- The status/decisions file paths (
.ai-workflow/memory/STATUS.md,.ai-workflow/memory/DECISIONS.md) are defaults; a project can point elsewhere as long as it says so.
- Fill in what's missing. If the project wants routing enforced by a
hook rather than convention,
task-routing.mdincludes an optionalUserPromptSubmit/PreToolUsehook template — copy and adapt, it is opt-in. - Record the codeharness origin, if useful for future maintenance —
e.g. a line in the project's own README noting it derives its
CLAUDE.md/.ai-workflowfrom codeharness and at roughly which version, so future updates can be diffed against upstream. - Verify the language state. As of this writing codeharness's
CLAUDE.md/.ai-workfloware Russian-only (temporary, seedocumentation.md). If your project needs English instructions, that is a deliberate translation pass on your side, not a mechanical copy.
What codeharness does not yet give you
- No symlink/submodule/package mechanism. codeharness is not
symlinked or copied into
~/.claudeautomatically, and there is no established update-propagation mechanism (e.g. "pull the latestgit-discipline.mdinto 6 projects at once"). This is called out directly in codeharness's own README: "the mechanism for attaching to target projects is not yet defined, still under discussion." - No scaffolding command. There is currently no generator/init script that does steps 1–4 above for you. Setup is manual copy + edit.
If you're setting up multiple projects and find yourself repeating this procedure often, that repetition is itself a signal for the attach-mechanism discussion upstream — consider raising it as an issue in codeharness rather than solving it silently per-project.
After setup
Once CLAUDE.md/.ai-workflow are in place, the project follows the cycle
described in Process: plan → consent → issue → work →
verification → review, with SemVer applied to the project's own
VERSION, independent of codeharness's version.
codeharness wiki
RU
EN
Вика синхронизирована с codeharness a6531f1 · 2026-07-11 — при рассинхроне с CHANGELOG обновить вику.
Wiki synced to codeharness a6531f1 · 2026-07-11.