/harness:architecture-qualityfrom Harness (обвязка)
Guides architecture decisions for web apps, APIs, and services: choose domain seams, assign state ownership, enforce dependency direction, keep adapters thin, and verify file shape. Use when starting or extending a project or when a module becomes hard to read.
Ships in Harness (обвязка). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill turns the architecture decision into a small, repeatable delivery
contract. It complements architecture-first; it does not add layers for their own
sake.
Before a non-trivial web or service change, record these five facts in
ARCHITECTURE.md or docs/architecture/README.md:
utils, helpers or services bucket.If the project is a small script or a single-module experiment, state that scope and skip the document. A missing document is a finding only once the project has enough shape to need one, not a reason to create ceremony around a toy.
utils or common import that keeps growing as a boundary question. Move
code to the module that owns its reason to change; do not create a universal bag.Run the repository audit before broadening a new app and after a structural change:
python "${CLAUDE_PLUGIN_ROOT}/scripts/architecture_audit.py" --root .
The audit is intentionally conservative. It reports, rather than invents, findings:
ARCHITECTURE.md or architecture directory;The live module-shape-advisor.py hook repeats the file-shape check after
Write|Edit|MultiEdit in both Codex and Claude. It is advisory: acknowledge the
finding, split at an ownership boundary, or record why the file is intentionally
large. CLAUDE_ALLOW_BIG_MODULES=1 is an explicit, reviewable escape hatch, not a
default.
For dependency rules, use the tool native to the stack when the project has earned it:
import-linter contracts for allowed import direction;dependency-cruiser for cycles, orphans and forbidden
folder edges;ArchUnit architecture tests alongside unit tests;Do not install all four. Pick one boundary mechanism, commit its rules, and run it in the same CI lane as the tests that prove the behavior.
ApplicationService is often a god module with a nicer name.| Symptom | Likely cause | Action |
|---|---|---|
| The audit reports a missing architecture anchor | An app marker and several source files exist, but the boundary is implicit | Write the small module/ownership/dependency map before adding more features |
module-shape-advisor reports a large file | Local edits accumulated in one ownership boundary | Add characterization tests, split one named slice, then rerun the audit |
| A cycle appears | Two modules own part of the same concept or one imports an implementation detail | Move the concept behind an inner port or extract a genuinely shared concept |
| Every change touches many folders | Layer-first layout scatters a feature across technical layers | Recut the next slice by feature; migrate incrementally with tests |
| The guard is noisy on generated code | The file is outside the built-in exemption list | Add a narrow, documented project exemption; do not silence the whole hook |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anastasiyaw/codex-claude-code-config --plugin harness60 skills in this plugin
/agent-harness-designDesigning agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool results, agent budgets (10 types), context trust labels against prompt injection, plan-artifact, approval records, observability and traces, evals (13 categories), event model, streaming buffering, 3rd-party skill install checklist, agentic RAG, self-improving SOP loops, model policy, reasoning effort, and Programmatic Tool Calling adoption gates. Use when building a new Agent SDK app, custom orchestrator, MCP server, Cloudflare Worker with tool calls, agentic RAG pipeline, model router, or model-tier policy; when designing tools and permissions; when writing an agent loop; or when you need trust labels for external content. Do NOT use for improving or auditing an already-built harness (use harness-audit / harness-design instead), nor for ordinary Claude Code sessions where the harness is already given./agents-best-practicesUse when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue from a measured gap to verified completion. Covers provider-neutral loops, tools, permissions, environment adaptation, planning, durable workflow state, context, skills, observability, evals, and safety for OpenAI, Anthropic, and compatible APIs. Not for implementing an ordinary app feature or reviewing one concrete diff.Other plugins' skills for the same job