agentsclimarketplace

T3d init

Skill coolsocket/t3d/skills/t3d-init

DDD + TDD harness for Claude Code — 5 hooks enforce Domain layer purity, cross-context call rules, and red-green discipline at edit time. Ships 4 skills + project templates.

Install
npx -y skills add coolsocket/t3d --skill t3d-init

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Initialize the current project with the DDD+TDD harness — copies CLAUDE.md, CONTEXT-MAP.md, contexts/_TEMPLATE/, contexts/_shared_kernel/, and docs/adr/ from the plugin. Use when adopting the harness in a fresh repo or onboarding an existing one. Run from the project root.

SKILL.md

2.5 KB, as published. Nobody here has run it

t3d-init

Copy the harness templates into the current project root (the directory where Claude Code was launched).

Plan

  1. Resolve the project root from ${CLAUDE_PROJECT_DIR}. Print it.
  2. For each template file under ${CLAUDE_PLUGIN_ROOT}/templates/:
    • Compute destination path under ${CLAUDE_PROJECT_DIR}/.
    • If destination exists, ask the user before overwriting (do NOT silently clobber CLAUDE.md).
    • Otherwise, cp it across, preserving directory structure.
  3. After copying, print a "next steps" message:
    • Open CLAUDE.md and fill the <!-- FILL IN --> project-identity section.
    • Open CONTEXT-MAP.md and list your bounded contexts.
    • Run /t3d-new-context <your-first-context> to scaffold the first context.

Required tool calls

You must use the Bash tool to run cp -r. Do not use the Write tool for copying — it would re-author files and lose timestamps/perms.

Templates to copy

The plugin ships this layout under ${CLAUDE_PLUGIN_ROOT}/templates/:

templates/
├── CLAUDE.md                # generic harness rules (with FILL IN placeholders)
├── CONTEXT-MAP.md           # empty bounded-context inventory
├── contexts/
│   ├── _TEMPLATE/           # 4-layer skeleton — copy-paste source for new contexts
│   └── _shared_kernel/      # example pure value objects (Money, Timestamp, ModelName, TokenCount)
└── docs/
    └── adr/
        ├── README.md        # Matt Pocock 3-condition ADR rule
        └── NNNN-template.md # ADR template

Conflict handling

If ${CLAUDE_PROJECT_DIR}/CLAUDE.md already exists, ask the user one of:

  • keep — leave existing, don't copy CLAUDE.md (default)
  • overwrite — replace with plugin version
  • view-diff — show diff first

Do not overwrite contexts/_shared_kernel/ if it exists either — that directory often has project-specific value objects.

Done criteria

After running, the user should be able to:

  • Edit a file at contexts/anything/domain/x.py containing import fastapi and see the PreToolUse hook DENY it.
  • Run /t3d-new-context billing and see contexts/billing/ appear with the full 4-layer skeleton.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.