coding-agent-fabric
CLAUDE.md1 starsChanged 9 months agoApache-2.0View on GitHub
This is a production-ready TypeScript monorepo template using modern tooling: For large tasks that can benefit from concurrent work: This decomposes tasks into independent subtasks with file ownership, executes them in parallel, and verifies results.
- Installs packages
In this repository16 other files it gives its agents.
- .cursor/rules/tech-stack.mdcCursor rule
- build-and-fixSkill
- bumpup-versionsSkill
- clean-projectSkill
- fix-issueSkill
- improve-claude-configSkill
- initialize-projectSkill
- lint-and-fixSkill
- manage-adrSkill
- manage-changelogSkill
- node-upgradeSkill
- security-vulnerability-auditSkill
- setup-dev-envSkill
- sync-readmeSkill
- test-and-fixSkill
- test-integration-dockerSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
19 rules. About 0 are common, 6 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 27
Use TypeScript for all code
- Distinctive: line 28
Follow project ESLint/Prettier configuration (managed via Trunk)
- Distinctive: line 29
Use functional programming patterns where appropriate
- Very specific: line 30
Use PascalCase for classes/interfaces, camelCase for functions/variables
- Very specific: line 31
Use kebab-case for file names (e.g., user-service.ts)
- Very specific: line 35
Write tests in tests/ or alongside source files as *.test.ts
- Distinctive: line 36
Use Vitest for unit and integration tests
- Very specific: line 38
Run pnpm test before committing
- Distinctive: line 42
Create feature branches from main
- Very specific: line 43
Run pnpm lint && pnpm test before commits
- Very specific: line 44
Commit messages: type(scope): description (e.g., feat(ui): add new button component)
- Very specific: line 54
Document significant design decisions as Architecture Decision Records (ADRs) in docs/adr.
- Very specific: line 58
Always use pnpm instead of npm or yarn
- Very specific: line 61
Run trunk install if linters report missing tools
- Very specific: line 108
Rules: Add to CLAUDE.md or .cursor/rules/ for guidance requiring judgment.
- Very specific: line 109
Hooks: Use PreToolUse or PostToolUse in .claude/settings.json for deterministic, mandatory checks.
- Very specific: line 110
Skills: Create new entries in .claude/skills/ for reusable complex workflows.
- Distinctive: line 113
Be Specific & Minimal: Only add rules or skills that provide clear, non-obvious value.
- Very specific: line 115
Use the /improve-claude-config skill to orchestrate these changes.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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
TypeScript Monorepo - Claude Code Memory
Project Overview
This is a production-ready TypeScript monorepo template using modern tooling:
- Package Manager: pnpm (with workspace support)
- Runtime: Node.js (see
.node-versionfor current version) - Build System: tsc / pnpm
- Linting/Formatting: Trunk (manages ESLint, Prettier, and more)
- Testing: Vitest
- CI/CD: GitHub Actions
Quick Commands
pnpm install # Install all dependencies
pnpm build # Build all packages
pnpm test # Run all tests via Vitest
pnpm lint # Run all linters via Trunk
pnpm format # Auto-format code via Trunk
pnpm clean # Clean build artifactsCode Style
- Use TypeScript for all code
- Follow project ESLint/Prettier configuration (managed via Trunk)
- Use functional programming patterns where appropriate
- Use
PascalCasefor classes/interfaces,camelCasefor functions/variables - Use
kebab-casefor file names (e.g.,user-service.ts)
Testing
- Write tests in
tests/or alongside source files as*.test.ts - Use Vitest for unit and integration tests
- Aim for high test coverage on core logic
- Run
pnpm testbefore committing
Git Workflow
- Create feature branches from
main - Run
pnpm lint && pnpm testbefore commits - Commit messages:
type(scope): description(e.g.,feat(ui): add new button component) - Types: feat, fix, docs, style, refactor, test, chore
- Record changes using the
manage-changelogskill whenchangieis available
Architecture
- Source code in
packages/*orsrc/(depending on package structure) - Development scripts and shared config in root
- CI/CD workflows in
.github/workflows/ - Claude Code configuration in
.claude/ - Document significant design decisions as Architecture Decision Records (ADRs) in
docs/adr; use themanage-adrskill whenadris available
Common Gotchas
- Always use
pnpminstead ofnpmoryarn - Trunk manages tool versions hermetically - don't install linters globally
- The
pnpm-lock.yamlfile is committed for reproducibility - don't gitignore it - Run
trunk installif linters report missing tools
Parallel Task Execution
For large tasks that can benefit from concurrent work:
/parallel-executor Add comprehensive logging to all modulesThis decomposes tasks into independent subtasks with file ownership, executes them in parallel, and verifies results.
Available Agents
| Agent | Purpose |
verifier | Run build → lint → test cycle |
code-reviewer | Review code for quality and security |
parallel-executor | Orchestrate parallel task execution |
parallel-tasks-planner | Plan task decomposition |
task-worker | Execute isolated subtasks |
Available Skills
| Skill | Purpose |
build-and-fix | Build the project and automatically fix build errors, compilation failures, or type mismatches |
clean-project | Perform a "hard reset" of the development environment (clean node_modules, lockfiles, etc.) |
fix-issue | Fix a GitHub issue end-to-end (view, branch, fix, test, PR) |
improve-claude-config | Self-improvement skill for evolving Claude Code configuration |
initialize-project | Initialize a new project from the template (rename packages, update metadata) |
lint-and-fix | Run linters and fix violations, formatting errors, or style mismatches using Trunk |
manage-adr | Manage Architecture Decision Records (init, create, list, link ADRs in docs/adr) |
manage-changelog | Manage changelogs with Changie (init, add fragments, batch releases, merge into CHANGELOG.md) |
node-upgrade | Safely upgrade Node.js dependencies in pnpm workspaces |
bumpup-versions | Consistently bump and synchronize versions across all packages in the monorepo |
security-vulnerability-audit | Audit security vulnerabilities using Trunk (Trivy and OSV-scanner) |
setup-dev-env | Set up the development environment (Node.js, pnpm, Trunk) |
test-and-fix | Run unit tests and automatically fix failures, regression bugs, or test mismatches |
problem-solving | Systematic issue analysis and report generation (global skill) |
Configuration Self-Improvement
This project supports Claude Code self-improvement. When you notice repeated mistakes, recurring explanations, or opportunities for automation:
- Analyze Pattern: Identify if it's a rule (guidance), a hook (mandatory action), a skill (workflow), or an agent (specialized task).
- Implement Improvement:
- Rules: Add to
CLAUDE.mdor.cursor/rules/for guidance requiring judgment. - Hooks: Use
PreToolUseorPostToolUsein.claude/settings.jsonfor deterministic, mandatory checks. - Skills: Create new entries in
.claude/skills/for reusable complex workflows. - Agents: Define new agents in
.claude/agents/for specialized context isolation.
- Rules: Add to
- Use Subagents: For configuration research or verification, use subagents to isolate context and prevent contamination of the main session.
- Be Specific & Minimal: Only add rules or skills that provide clear, non-obvious value.
Use the /improve-claude-config skill to orchestrate these changes.
Recent Learnings
- [2026-02-05]: Initial setup of the comprehensive skills reference and self-improvement guidelines.
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.

