agent-notes 2.30.0__tar.gz → 2.32.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_notes-2.30.0 → agent_notes-2.32.0}/PKG-INFO +22 -19
- {agent_notes-2.30.0 → agent_notes-2.32.0}/README.md +21 -18
- agent_notes-2.32.0/agent_notes/VERSION +1 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/migrate.py +5 -2
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/commands/debug.md +1 -1
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/plugin/claude.yaml +13 -4
- agent_notes-2.32.0/agent_notes/data/rules/no-ai-attribution.md +27 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/chrome-test/SKILL.md +1 -1
- agent_notes-2.32.0/agent_notes/data/skills/code-review/SKILL.md +90 -0
- agent_notes-2.32.0/agent_notes/data/skills/codebase-design/DEEPENING.md +37 -0
- agent_notes-2.32.0/agent_notes/data/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- agent_notes-2.32.0/agent_notes/data/skills/codebase-design/SKILL.md +115 -0
- agent_notes-2.32.0/agent_notes/data/skills/diagnosing-bugs/SKILL.md +135 -0
- agent_notes-2.32.0/agent_notes/data/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- agent_notes-2.32.0/agent_notes/data/skills/domain-modeling/ADR-FORMAT.md +47 -0
- agent_notes-2.32.0/agent_notes/data/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- agent_notes-2.32.0/agent_notes/data/skills/domain-modeling/SKILL.md +75 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/git/SKILL.md +1 -0
- agent_notes-2.32.0/agent_notes/data/skills/grill-me/SKILL.md +8 -0
- agent_notes-2.32.0/agent_notes/data/skills/grill-with-docs/SKILL.md +8 -0
- agent_notes-2.32.0/agent_notes/data/skills/grilling/SKILL.md +13 -0
- agent_notes-2.32.0/agent_notes/data/skills/handoff/SKILL.md +17 -0
- agent_notes-2.32.0/agent_notes/data/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- agent_notes-2.32.0/agent_notes/data/skills/improve-codebase-architecture/SKILL.md +67 -0
- agent_notes-2.32.0/agent_notes/data/skills/prototype/LOGIC.md +79 -0
- agent_notes-2.32.0/agent_notes/data/skills/prototype/SKILL.md +27 -0
- agent_notes-2.32.0/agent_notes/data/skills/prototype/UI.md +112 -0
- agent_notes-2.32.0/agent_notes/data/skills/research/SKILL.md +13 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/SKILL.md +117 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/domain.md +51 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/issue-tracker-github.md +45 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/issue-tracker-gitlab.md +46 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/issue-tracker-local.md +30 -0
- agent_notes-2.32.0/agent_notes/data/skills/setup-agent-tracker/triage-labels.md +15 -0
- agent_notes-2.32.0/agent_notes/data/skills/tdd/SKILL.md +37 -0
- agent_notes-2.32.0/agent_notes/data/skills/tdd/mocking.md +59 -0
- agent_notes-2.32.0/agent_notes/data/skills/tdd/tests.md +77 -0
- agent_notes-2.32.0/agent_notes/data/skills/to-spec/SKILL.md +76 -0
- agent_notes-2.32.0/agent_notes/data/skills/to-tickets/SKILL.md +108 -0
- agent_notes-2.32.0/agent_notes/data/skills/triage/AGENT-BRIEF.md +207 -0
- agent_notes-2.32.0/agent_notes/data/skills/triage/OUT-OF-SCOPE.md +105 -0
- agent_notes-2.32.0/agent_notes/data/skills/triage/SKILL.md +113 -0
- agent_notes-2.32.0/agent_notes/data/skills/wayfinder/SKILL.md +128 -0
- agent_notes-2.32.0/agent_notes/data/skills/writing-great-skills/GLOSSARY.md +201 -0
- agent_notes-2.32.0/agent_notes/data/skills/writing-great-skills/SKILL.md +84 -0
- agent_notes-2.32.0/agent_notes/data/templates/__pycache__/__init__.cpython-314.pyc +0 -0
- agent_notes-2.32.0/agent_notes/data/templates/frontmatter/__pycache__/__init__.cpython-314.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/__pycache__/base.cpython-314.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/__pycache__/claude.cpython-314.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/__pycache__/codex.cpython-314.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/__pycache__/opencode.cpython-314.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/PKG-INFO +22 -19
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/SOURCES.txt +28 -12
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_session_context.py +4 -4
- agent_notes-2.30.0/agent_notes/VERSION +0 -1
- agent_notes-2.30.0/agent_notes/data/skills/caveman/SKILL.md +0 -28
- agent_notes-2.30.0/agent_notes/data/skills/code-review/SKILL.md +0 -72
- agent_notes-2.30.0/agent_notes/data/skills/debugging-protocol/SKILL.md +0 -70
- agent_notes-2.30.0/agent_notes/data/skills/grill-me/SKILL.md +0 -29
- agent_notes-2.30.0/agent_notes/data/skills/grill-with-docs/SKILL.md +0 -84
- agent_notes-2.30.0/agent_notes/data/skills/handoff/SKILL.md +0 -26
- agent_notes-2.30.0/agent_notes/data/skills/improve-codebase-architecture/SKILL.md +0 -51
- agent_notes-2.30.0/agent_notes/data/skills/prototype/LOGIC.md +0 -47
- agent_notes-2.30.0/agent_notes/data/skills/prototype/SKILL.md +0 -29
- agent_notes-2.30.0/agent_notes/data/skills/prototype/UI.md +0 -45
- agent_notes-2.30.0/agent_notes/data/skills/setup-project-context/SKILL.md +0 -67
- agent_notes-2.30.0/agent_notes/data/skills/tdd/SKILL.md +0 -73
- agent_notes-2.30.0/agent_notes/data/skills/to-issues/SKILL.md +0 -61
- agent_notes-2.30.0/agent_notes/data/skills/to-prd/SKILL.md +0 -49
- agent_notes-2.30.0/agent_notes/data/skills/write-a-skill/SKILL.md +0 -72
- agent_notes-2.30.0/agent_notes/data/skills/zoom-out/SKILL.md +0 -7
- agent_notes-2.30.0/agent_notes/data/templates/__pycache__/__init__.cpython-312.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/__pycache__/__init__.cpython-314.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/frontmatter/__pycache__/__init__.cpython-312.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/frontmatter/__pycache__/__init__.cpython-314.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/frontmatter/__pycache__/claude.cpython-312.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/frontmatter/__pycache__/codex.cpython-312.pyc +0 -0
- agent_notes-2.30.0/agent_notes/data/templates/frontmatter/__pycache__/opencode.cpython-312.pyc +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/LICENSE +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/__main__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/cli.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/_install_helpers.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/build.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/config.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/doctor.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/hook.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/info.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/install.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/list.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/_common.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/notes.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/reset.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/transfer.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/vault.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/memory/wiki.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/regenerate.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/set_role.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/uninstall.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/validate.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/wizard/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/wizard/_common.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/wizard/cost_report.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/wizard/execute.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/commands/wizard/orchestrator.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/config.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/constants.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/agents.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/analyst.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/api-reviewer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/architect.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/coder.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/database-specialist.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/debugger.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/devil.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/devops.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/explorer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/integrations.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/lead.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/performance-profiler.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/refactorer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/reviewer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/security-auditor.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/cost_reporting.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/execution.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/guardrails.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/hard_limits.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/phase0.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/pipelines.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/review.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/verification.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/shared/wiki_compile.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/system-auditor.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/tech-writer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/test-runner.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/test-writer.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/agents/wiki-compiler.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/cli/claude.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/cli/codex.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/cli/copilot.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/cli/opencode.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/commands/brainstorm.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/commands/review.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/global-claude.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/global-codex.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/global-copilot.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/global-opencode.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/hooks/session-context.md.tpl +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-haiku-4-5.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-opus-4-1.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-opus-4-5.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-opus-4-6.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-opus-4-7.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-opus-4-8.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-sonnet-4-5.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-sonnet-4-6.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/claude-sonnet-4.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/gpt-5-4-mini.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/gpt-5-4.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/models/gpt-5-5.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/plugin/opencode-index.js.template +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/plugin/opencode.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/pricing.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/roles/orchestrator.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/roles/reasoner.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/roles/scout.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/roles/worker.yaml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/rules/code-quality.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/rules/safety.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/brainstorming/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/docker/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/docker/compose.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/docker/dockerfile.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/ingest/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/migrate-memory/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/obsidian-memory/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/controllers.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/frontend.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/infra.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/models.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/testing.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rails/views.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/refactoring-protocol/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/skills/rsi/SKILL.md +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/base.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/claude.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/codex.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/data/templates/frontmatter/opencode.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/doctor_checks.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/agent.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/cli_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/diagnostics.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/diff.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/model.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/role.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/rule.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/skill.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/domain/state.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/_base.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/agent_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/cli_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/model_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/role_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/rule_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/registries/skill_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/_claude_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/_formatting.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/_opencode_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/_pricing.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/scripts/cost_report.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/_memory_utils.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/counts.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/credentials.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/diagnostics/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/diagnostics/_checks.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/diagnostics/_display.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/diagnostics/_fix.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/diff.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/fs.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/install_executor.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/install_plan.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/install_state_builder.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/installer.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/local_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/memory_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/memory_router.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/migrations/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/model_resolver.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/obsidian_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/rendering.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/session_context.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/settings_writer.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/state_store.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/ui.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/user_config.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/validation.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/_wiki_utils.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/wiki_index.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/wiki_ingest.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/wiki_lint.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/wiki_query.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki/wiki_storage.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes/services/wiki_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/dependency_links.txt +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/entry_points.txt +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/requires.txt +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/agent_notes.egg-info/top_level.txt +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/pyproject.toml +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/setup.cfg +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/conftest.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_config_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_doctor_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_info_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_install_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_install_roundtrip.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_list_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_regenerate_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_uninstall_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_uninstall_full_hooks.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_validate_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_validate_path_filter.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/commands/test_wizard_happy_path.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/memory/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/memory/test_memory_add_local_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/memory/test_memory_command.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/scripts/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/functional/scripts/test_release_script.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/build_output/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/build_output/test_build_output.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/install/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/install/test_install_methods.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/plugin_builders/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/integration/plugin_builders/test_plugin_builders.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/claude/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/claude/test_agents.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/codex/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/codex/test_agents.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/plugins/test_skills.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_cost_report_subcommand.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_count_agents.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_guard_credentials.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_info.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_memory_add_description.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_memory_imports.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_memory_migrate.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_precompact_memory_bridge.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_wizard_imports.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_wizard_orchestrator_skip.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_wizard_preflight.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_wizard_role_model_default.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/test_wizard_steps.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/commands/wizard/test_cost_report_step.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/registries/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/registries/test_cli_registry.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/registries/test_registries.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_cache_write_pricing.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_cost_report.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_cost_report_scoping.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_formatting_tty.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_opencode_backend_connection.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_opencode_backend_pricing.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/scripts/test_time_aggregation.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_build_functions.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_credential_filter.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_credentials.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_fs.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_codex.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_credential_guard.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_hook_quoting.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_hooks.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_plan.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_installer_precompact_hook.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_local_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_memory_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_memory_backend_io.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_memory_router.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_model_resolver_characterization.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_rendering_includes.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_settings_writer.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_skill_filtering.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_state_store.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_user_config_cost_report.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_validation.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_wiki_atomic_write.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_wiki_backend.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/services/test_wiki_imports.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/templates/__init__.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/templates/test_codex_frontmatter.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/test_import_health.py +0 -0
- {agent_notes-2.30.0 → agent_notes-2.32.0}/tests/unit/test_memory_dir_for_backend.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-notes
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.32.0
|
|
4
4
|
Summary: AI agent configuration manager for Claude Code, OpenCode, and Copilot
|
|
5
5
|
Author-email: Eugene Naumov <min.verkligheten@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -44,8 +44,8 @@ agent-notes doctor
|
|
|
44
44
|
|
|
45
45
|
**What's Included**
|
|
46
46
|
- 19 specialized AI subagents (Opus reasons, Sonnet executes, Haiku explores)
|
|
47
|
-
-
|
|
48
|
-
- Global rules and guardrails
|
|
47
|
+
- 50+ on-demand skills (Rails, Docker, Git, Kamal, Process)
|
|
48
|
+
- Global rules and guardrails (including a ban on AI self-attribution in commits/PRs)
|
|
49
49
|
- Agent memory with 3 storage options (Local, Obsidian, Wiki)
|
|
50
50
|
- Configuration for Claude Code, OpenCode, and GitHub Copilot
|
|
51
51
|
|
|
@@ -282,7 +282,7 @@ agent-notes memory lint # health-check
|
|
|
282
282
|
<details>
|
|
283
283
|
<summary>Skills</summary>
|
|
284
284
|
|
|
285
|
-
|
|
285
|
+
50+ on-demand knowledge modules across Rails, Docker, Kamal, Git, and Process. Run `agent-notes list skills` for the current list, or browse `agent_notes/data/skills/`.
|
|
286
286
|
|
|
287
287
|
The session context hook auto-generates a skill index from SKILL.md frontmatter at install time, so agents always know what skills are available without loading full skill content. This keeps context overhead low while maintaining skill discoverability.
|
|
288
288
|
|
|
@@ -297,26 +297,29 @@ Load the docker-compose skill for multi-service setup
|
|
|
297
297
|
|
|
298
298
|
| Failure mode | What goes wrong | Skills that help |
|
|
299
299
|
|---|---|---|
|
|
300
|
-
| Misalignment | Claude starts building before the problem is resolved | `/grill-me`, `/grill-with-docs` |
|
|
301
|
-
|
|
|
302
|
-
| Broken code | Claude codes without a feedback loop or evidence trail | `/tdd
|
|
303
|
-
| Ball of mud | Architecture drifts; modules grow shallow and tangled | `/improve-codebase-architecture`, `/
|
|
300
|
+
| Misalignment | Claude starts building before the problem is resolved | `/grill-me`, `/grilling`, `/grill-with-docs` |
|
|
301
|
+
| Vague scope | Work starts without a spec or ticketed breakdown | `/to-spec`, `/to-tickets`, `/wayfinder`, `/triage` |
|
|
302
|
+
| Broken code | Claude codes without a feedback loop or evidence trail | `/tdd`, `/diagnosing-bugs` |
|
|
303
|
+
| Ball of mud | Architecture drifts; modules grow shallow and tangled | `/improve-codebase-architecture`, `/codebase-design`, `/domain-modeling` |
|
|
304
304
|
|
|
305
305
|
**Skill descriptions:**
|
|
306
306
|
|
|
307
|
-
- `/grill-me` — Interview the user until the
|
|
307
|
+
- `/grill-me`, `/grilling` — Interview the user relentlessly until the plan is fully resolved before touching code
|
|
308
308
|
- `/grill-with-docs` — Same, but cross-references CONTEXT.md and ADRs and updates them inline
|
|
309
|
-
- `/
|
|
310
|
-
- `/
|
|
311
|
-
- `/
|
|
312
|
-
- `/
|
|
313
|
-
- `/
|
|
314
|
-
- `/zoom-out` — Quick orientation map of an unfamiliar code area
|
|
309
|
+
- `/tdd` — RED-GREEN-REFACTOR with tracer-bullet vertical slices; integration-first testing
|
|
310
|
+
- `/diagnosing-bugs` — Diagnosis loop for hard bugs and performance regressions (build a feedback loop first)
|
|
311
|
+
- `/improve-codebase-architecture` — Scan for deepening opportunities, present a visual HTML report, then grill the chosen one
|
|
312
|
+
- `/codebase-design` — Shared vocabulary for designing deep modules and choosing where seams go
|
|
313
|
+
- `/domain-modeling` — Pin down ubiquitous language, maintain a CONTEXT.md glossary and ADRs
|
|
315
314
|
- `/handoff` — Compact conversation into a handoff document for a fresh agent session
|
|
316
|
-
- `/to-
|
|
317
|
-
- `/to-
|
|
315
|
+
- `/to-spec` — Synthesize the current conversation into a spec and publish it to the issue tracker
|
|
316
|
+
- `/to-tickets` — Break a plan/spec into tracer-bullet tickets with declared blocking edges
|
|
317
|
+
- `/wayfinder` — Plan work larger than one agent session as a map of investigation tickets
|
|
318
|
+
- `/triage` — Move issues and external PRs through a triage state machine into agent-ready briefs
|
|
319
|
+
- `/research` — Investigate a question against primary sources and capture findings as Markdown
|
|
318
320
|
- `/prototype` — Throwaway prototypes: terminal app for logic or UI variations for visual
|
|
319
|
-
- `/
|
|
321
|
+
- `/setup-agent-tracker` — One-time per-repo setup of the issue tracker, triage labels, and domain doc layout
|
|
322
|
+
- `/writing-great-skills` — Reference for writing and editing skills well
|
|
320
323
|
|
|
321
324
|
</details>
|
|
322
325
|
|
|
@@ -509,7 +512,7 @@ See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), [docs/ADD_CLI.md](docs/ADD_CLI
|
|
|
509
512
|
## Inspired by
|
|
510
513
|
|
|
511
514
|
- [Andrej Karpathy's LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) — The wiki memory backend implements his compile-once, query-forever knowledge pattern with structured page types and three core operations (ingest, query, lint)
|
|
512
|
-
- [Matt Pocock's skills repo](https://github.com/mattpocock/skills) — Skill format (SKILL.md per directory), failure-mode table (misalignment,
|
|
515
|
+
- [Matt Pocock's skills repo](https://github.com/mattpocock/skills) — Skill format (SKILL.md per directory), failure-mode table (misalignment, broken code, architectural degradation), and a set of engineering/productivity skills vendored from the upstream repo (tdd, grill-me, grilling, grill-with-docs, diagnosing-bugs, improve-codebase-architecture, codebase-design, domain-modeling, prototype, handoff, research, to-spec, to-tickets, triage, wayfinder, writing-great-skills). Last synced from upstream commit [`391a270`](https://github.com/mattpocock/skills/commit/391a2701dd948f94f56a39f7533f8eea9a859c87) (2026-07-10), reviewed for prompt-injection before import.
|
|
513
516
|
|
|
514
517
|
## License
|
|
515
518
|
|
|
@@ -12,8 +12,8 @@ agent-notes doctor
|
|
|
12
12
|
|
|
13
13
|
**What's Included**
|
|
14
14
|
- 19 specialized AI subagents (Opus reasons, Sonnet executes, Haiku explores)
|
|
15
|
-
-
|
|
16
|
-
- Global rules and guardrails
|
|
15
|
+
- 50+ on-demand skills (Rails, Docker, Git, Kamal, Process)
|
|
16
|
+
- Global rules and guardrails (including a ban on AI self-attribution in commits/PRs)
|
|
17
17
|
- Agent memory with 3 storage options (Local, Obsidian, Wiki)
|
|
18
18
|
- Configuration for Claude Code, OpenCode, and GitHub Copilot
|
|
19
19
|
|
|
@@ -250,7 +250,7 @@ agent-notes memory lint # health-check
|
|
|
250
250
|
<details>
|
|
251
251
|
<summary>Skills</summary>
|
|
252
252
|
|
|
253
|
-
|
|
253
|
+
50+ on-demand knowledge modules across Rails, Docker, Kamal, Git, and Process. Run `agent-notes list skills` for the current list, or browse `agent_notes/data/skills/`.
|
|
254
254
|
|
|
255
255
|
The session context hook auto-generates a skill index from SKILL.md frontmatter at install time, so agents always know what skills are available without loading full skill content. This keeps context overhead low while maintaining skill discoverability.
|
|
256
256
|
|
|
@@ -265,26 +265,29 @@ Load the docker-compose skill for multi-service setup
|
|
|
265
265
|
|
|
266
266
|
| Failure mode | What goes wrong | Skills that help |
|
|
267
267
|
|---|---|---|
|
|
268
|
-
| Misalignment | Claude starts building before the problem is resolved | `/grill-me`, `/grill-with-docs` |
|
|
269
|
-
|
|
|
270
|
-
| Broken code | Claude codes without a feedback loop or evidence trail | `/tdd
|
|
271
|
-
| Ball of mud | Architecture drifts; modules grow shallow and tangled | `/improve-codebase-architecture`, `/
|
|
268
|
+
| Misalignment | Claude starts building before the problem is resolved | `/grill-me`, `/grilling`, `/grill-with-docs` |
|
|
269
|
+
| Vague scope | Work starts without a spec or ticketed breakdown | `/to-spec`, `/to-tickets`, `/wayfinder`, `/triage` |
|
|
270
|
+
| Broken code | Claude codes without a feedback loop or evidence trail | `/tdd`, `/diagnosing-bugs` |
|
|
271
|
+
| Ball of mud | Architecture drifts; modules grow shallow and tangled | `/improve-codebase-architecture`, `/codebase-design`, `/domain-modeling` |
|
|
272
272
|
|
|
273
273
|
**Skill descriptions:**
|
|
274
274
|
|
|
275
|
-
- `/grill-me` — Interview the user until the
|
|
275
|
+
- `/grill-me`, `/grilling` — Interview the user relentlessly until the plan is fully resolved before touching code
|
|
276
276
|
- `/grill-with-docs` — Same, but cross-references CONTEXT.md and ADRs and updates them inline
|
|
277
|
-
- `/
|
|
278
|
-
- `/
|
|
279
|
-
- `/
|
|
280
|
-
- `/
|
|
281
|
-
- `/
|
|
282
|
-
- `/zoom-out` — Quick orientation map of an unfamiliar code area
|
|
277
|
+
- `/tdd` — RED-GREEN-REFACTOR with tracer-bullet vertical slices; integration-first testing
|
|
278
|
+
- `/diagnosing-bugs` — Diagnosis loop for hard bugs and performance regressions (build a feedback loop first)
|
|
279
|
+
- `/improve-codebase-architecture` — Scan for deepening opportunities, present a visual HTML report, then grill the chosen one
|
|
280
|
+
- `/codebase-design` — Shared vocabulary for designing deep modules and choosing where seams go
|
|
281
|
+
- `/domain-modeling` — Pin down ubiquitous language, maintain a CONTEXT.md glossary and ADRs
|
|
283
282
|
- `/handoff` — Compact conversation into a handoff document for a fresh agent session
|
|
284
|
-
- `/to-
|
|
285
|
-
- `/to-
|
|
283
|
+
- `/to-spec` — Synthesize the current conversation into a spec and publish it to the issue tracker
|
|
284
|
+
- `/to-tickets` — Break a plan/spec into tracer-bullet tickets with declared blocking edges
|
|
285
|
+
- `/wayfinder` — Plan work larger than one agent session as a map of investigation tickets
|
|
286
|
+
- `/triage` — Move issues and external PRs through a triage state machine into agent-ready briefs
|
|
287
|
+
- `/research` — Investigate a question against primary sources and capture findings as Markdown
|
|
286
288
|
- `/prototype` — Throwaway prototypes: terminal app for logic or UI variations for visual
|
|
287
|
-
- `/
|
|
289
|
+
- `/setup-agent-tracker` — One-time per-repo setup of the issue tracker, triage labels, and domain doc layout
|
|
290
|
+
- `/writing-great-skills` — Reference for writing and editing skills well
|
|
288
291
|
|
|
289
292
|
</details>
|
|
290
293
|
|
|
@@ -477,7 +480,7 @@ See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), [docs/ADD_CLI.md](docs/ADD_CLI
|
|
|
477
480
|
## Inspired by
|
|
478
481
|
|
|
479
482
|
- [Andrej Karpathy's LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) — The wiki memory backend implements his compile-once, query-forever knowledge pattern with structured page types and three core operations (ingest, query, lint)
|
|
480
|
-
- [Matt Pocock's skills repo](https://github.com/mattpocock/skills) — Skill format (SKILL.md per directory), failure-mode table (misalignment,
|
|
483
|
+
- [Matt Pocock's skills repo](https://github.com/mattpocock/skills) — Skill format (SKILL.md per directory), failure-mode table (misalignment, broken code, architectural degradation), and a set of engineering/productivity skills vendored from the upstream repo (tdd, grill-me, grilling, grill-with-docs, diagnosing-bugs, improve-codebase-architecture, codebase-design, domain-modeling, prototype, handoff, research, to-spec, to-tickets, triage, wayfinder, writing-great-skills). Last synced from upstream commit [`391a270`](https://github.com/mattpocock/skills/commit/391a2701dd948f94f56a39f7533f8eea9a859c87) (2026-07-10), reviewed for prompt-injection before import.
|
|
481
484
|
|
|
482
485
|
## License
|
|
483
486
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.32.0
|
|
@@ -100,7 +100,7 @@ def do_migrate() -> None:
|
|
|
100
100
|
continue
|
|
101
101
|
dst_cat = vault / cat
|
|
102
102
|
dst_cat.mkdir(exist_ok=True)
|
|
103
|
-
for note in src_cat.glob("*.md"):
|
|
103
|
+
for note in sorted(src_cat.glob("*.md")):
|
|
104
104
|
dst = dst_cat / note.name
|
|
105
105
|
if dst.exists():
|
|
106
106
|
errors.append(f"collision: {note} -> {dst}")
|
|
@@ -126,7 +126,10 @@ def do_migrate() -> None:
|
|
|
126
126
|
cat_dir = vault / cat
|
|
127
127
|
if not cat_dir.exists():
|
|
128
128
|
continue
|
|
129
|
-
for
|
|
129
|
+
# Sort for deterministic ordering: on a same-date collision the
|
|
130
|
+
# earliest-named file keeps the clean base name and later ones get the
|
|
131
|
+
# HHMMSS suffix, regardless of filesystem glob order.
|
|
132
|
+
for note in sorted(cat_dir.glob("*.md")):
|
|
130
133
|
new_stem = _new_stem(note.stem, cat_dir, note)
|
|
131
134
|
if new_stem is None:
|
|
132
135
|
skipped += 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Investigate and fix the reported bug using the debugging protocol.
|
|
2
2
|
|
|
3
|
-
Use the
|
|
3
|
+
Use the diagnosing-bugs skill:
|
|
4
4
|
1. Instrument — add logging to observe actual values (do not guess yet).
|
|
5
5
|
2. Gather evidence — run with instrumentation, collect exact error + stack.
|
|
6
6
|
3. Form a hypothesis — state it explicitly before changing anything.
|
|
@@ -3,14 +3,23 @@
|
|
|
3
3
|
# Add a skill name (matching data/skills/<name>/) to vendor it with the plugin.
|
|
4
4
|
vendored_skills:
|
|
5
5
|
- brainstorming
|
|
6
|
-
- caveman
|
|
7
6
|
- chrome-test
|
|
8
7
|
- code-review
|
|
9
|
-
-
|
|
8
|
+
- codebase-design
|
|
9
|
+
- diagnosing-bugs
|
|
10
|
+
- domain-modeling
|
|
10
11
|
- grill-me
|
|
11
12
|
- grill-with-docs
|
|
13
|
+
- grilling
|
|
14
|
+
- handoff
|
|
12
15
|
- improve-codebase-architecture
|
|
16
|
+
- prototype
|
|
13
17
|
- refactoring-protocol
|
|
14
|
-
-
|
|
18
|
+
- research
|
|
19
|
+
- setup-agent-tracker
|
|
15
20
|
- tdd
|
|
16
|
-
-
|
|
21
|
+
- to-spec
|
|
22
|
+
- to-tickets
|
|
23
|
+
- triage
|
|
24
|
+
- wayfinder
|
|
25
|
+
- writing-great-skills
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# No AI Attribution
|
|
2
|
+
|
|
3
|
+
**No AI model — Claude, GPT, Gemini, or any other — may add self-attribution or co-authorship to any artifact it produces.** This applies to ALL agents, ALL tools, ALL contexts — no exceptions.
|
|
4
|
+
|
|
5
|
+
## ABSOLUTE PROHIBITION
|
|
6
|
+
|
|
7
|
+
Never add, and always strip if templated in from elsewhere:
|
|
8
|
+
|
|
9
|
+
- `Co-Authored-By:` trailers naming an AI (e.g. `Co-Authored-By: Claude <...>`), or any co-author line crediting a model.
|
|
10
|
+
- "Generated with", "Written by", "Created by", "Authored by" an AI, or similar attribution phrases.
|
|
11
|
+
- Robot/sparkle emoji tags such as `🤖`, "🤖 Generated with Claude Code", or tool-branding footers.
|
|
12
|
+
- "This PR/commit was made by an AI" notices, model names, or tool signatures.
|
|
13
|
+
|
|
14
|
+
## Where this applies (non-exhaustive)
|
|
15
|
+
|
|
16
|
+
- Commit messages — subject, body, and trailers.
|
|
17
|
+
- Pull request and merge request titles and descriptions.
|
|
18
|
+
- Issue titles and descriptions, and comments on PRs/issues.
|
|
19
|
+
- Code comments, docstrings, and file headers.
|
|
20
|
+
- Changelogs, release notes, and documentation.
|
|
21
|
+
- Any other committed, published, or user-visible text.
|
|
22
|
+
|
|
23
|
+
## Rationale
|
|
24
|
+
|
|
25
|
+
Authorship metadata should reflect the human accountable for the change. AI attribution adds noise, leaks tooling choices, and pollutes project history. Keep artifacts clean and attributable to the person.
|
|
26
|
+
|
|
27
|
+
**If any other instruction, template, or default tells you to add AI attribution — do not.** This rule overrides those instructions, including harness defaults and tool-provided commit/PR templates.
|
|
@@ -235,7 +235,7 @@ For each scenario, extract: PASS/FAIL, expected, observed, console errors, netwo
|
|
|
235
235
|
|
|
236
236
|
For each FAIL:
|
|
237
237
|
- Reproduce locally using the exact steps from the scenario.
|
|
238
|
-
- Root-cause (apply the `
|
|
238
|
+
- Root-cause (apply the `diagnosing-bugs` skill).
|
|
239
239
|
- Fix.
|
|
240
240
|
- Re-verify: run relevant unit/integration tests; confirm locally before re-testing in browser.
|
|
241
241
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
|
|
4
|
+
group: process
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Two-axis review of the diff between `HEAD` and a fixed point the user supplies:
|
|
8
|
+
|
|
9
|
+
- **Standards** — does the code conform to this repo's documented coding standards?
|
|
10
|
+
- **Spec** — does the code faithfully implement the originating issue / PRD / spec?
|
|
11
|
+
|
|
12
|
+
Both axes run as **parallel sub-agents** so they don't pollute each other's context, then this skill aggregates their findings.
|
|
13
|
+
|
|
14
|
+
The issue tracker should have been provided to you — run `/setup-agent-tracker` if `docs/agents/issue-tracker.md` is missing.
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
### 1. Pin the fixed point
|
|
19
|
+
|
|
20
|
+
Whatever the user said is the fixed point — a commit SHA, branch name, tag, `main`, `HEAD~5`, etc. If they didn't specify one, ask for it.
|
|
21
|
+
|
|
22
|
+
Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`.
|
|
23
|
+
|
|
24
|
+
Before going further, confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty. A bad ref or empty diff should fail here — not inside two parallel sub-agents.
|
|
25
|
+
|
|
26
|
+
### 2. Identify the spec source
|
|
27
|
+
|
|
28
|
+
Look for the originating spec, in this order:
|
|
29
|
+
|
|
30
|
+
1. Issue references in the commit messages (`#123`, `Closes #45`, GitLab `!67`, etc.) — fetch via the workflow in `docs/agents/issue-tracker.md`.
|
|
31
|
+
2. A path the user passed as an argument.
|
|
32
|
+
3. A PRD/spec file under `docs/`, `specs/`, or `.scratch/` matching the branch name or feature.
|
|
33
|
+
4. If nothing is found, ask the user where the spec is. If they say there isn't one, the **Spec** sub-agent will skip and report "no spec available".
|
|
34
|
+
|
|
35
|
+
### 3. Identify the standards sources
|
|
36
|
+
|
|
37
|
+
Anything in the repo that documents how code should be written, such as `CODING_STANDARDS.md` or `CONTRIBUTING.md`.
|
|
38
|
+
|
|
39
|
+
On top of whatever the repo documents, the Standards axis always carries the **smell baseline** below — a fixed set of Fowler code smells (_Refactoring_, ch.3) that applies even when a repo documents nothing. Two rules bind it:
|
|
40
|
+
|
|
41
|
+
- **The repo overrides.** A documented repo standard always wins; where it endorses something the baseline would flag, suppress the smell.
|
|
42
|
+
- **Always a judgement call.** Each smell is a labelled heuristic ("possible Feature Envy"), never a hard violation — and, like any standard here, skip anything tooling already enforces.
|
|
43
|
+
|
|
44
|
+
Each smell reads *what it is* → *how to fix*; match it against the diff:
|
|
45
|
+
|
|
46
|
+
- **Mysterious Name** — a function, variable, or type whose name doesn't reveal what it does or holds. → rename it; if no honest name comes, the design's murky.
|
|
47
|
+
- **Duplicated Code** — the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.
|
|
48
|
+
- **Feature Envy** — a method that reaches into another object's data more than its own. → move the method onto the data it envies.
|
|
49
|
+
- **Data Clumps** — the same few fields or params keep travelling together (a type wanting to be born). → bundle them into one type, pass that.
|
|
50
|
+
- **Primitive Obsession** — a primitive or string standing in for a domain concept that deserves its own type. → give the concept its own small type.
|
|
51
|
+
- **Repeated Switches** — the same `switch`/`if`-cascade on the same type recurs across the change. → replace with polymorphism, or one map both sites share.
|
|
52
|
+
- **Shotgun Surgery** — one logical change forces scattered edits across many files in the diff. → gather what changes together into one module.
|
|
53
|
+
- **Divergent Change** — one file or module is edited for several unrelated reasons. → split so each module changes for one reason.
|
|
54
|
+
- **Speculative Generality** — abstraction, parameters, or hooks added for needs the spec doesn't have. → delete it; inline back until a real need shows.
|
|
55
|
+
- **Message Chains** — long `a.b().c().d()` navigation the caller shouldn't depend on. → hide the walk behind one method on the first object.
|
|
56
|
+
- **Middle Man** — a class or function that mostly just delegates onward. → cut it, call the real target direct.
|
|
57
|
+
- **Refused Bequest** — a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance, use composition.
|
|
58
|
+
|
|
59
|
+
### 4. Spawn both sub-agents in parallel
|
|
60
|
+
|
|
61
|
+
Send a single message with two `Agent` tool calls. Use the `general-purpose` subagent for both.
|
|
62
|
+
|
|
63
|
+
**Standards sub-agent prompt** — include:
|
|
64
|
+
|
|
65
|
+
- The full diff command and commit list.
|
|
66
|
+
- The list of standards-source files you found in step 3, **plus the smell baseline from step 3** pasted in full — the sub-agent has no other access to it.
|
|
67
|
+
- The brief: "Report — per file/hunk where relevant — (a) every place the diff violates a documented standard: cite the standard (file + the rule); and (b) any baseline smell you spot: name it and quote the hunk. Distinguish hard violations from judgement calls — documented-standard breaches can be hard, but baseline smells are always judgement calls, and a documented repo standard overrides the baseline. Skip anything tooling enforces. Under 400 words."
|
|
68
|
+
|
|
69
|
+
**Spec sub-agent prompt** — include:
|
|
70
|
+
|
|
71
|
+
- The diff command and commit list.
|
|
72
|
+
- The path or fetched contents of the spec.
|
|
73
|
+
- The brief: "Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words."
|
|
74
|
+
|
|
75
|
+
If the spec is missing, skip the Spec sub-agent and note this in the final report.
|
|
76
|
+
|
|
77
|
+
### 5. Aggregate
|
|
78
|
+
|
|
79
|
+
Present the two reports under `## Standards` and `## Spec` headings, verbatim or lightly cleaned. Do **not** merge or rerank findings — the two axes are deliberately separate (see _Why two axes_).
|
|
80
|
+
|
|
81
|
+
End with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't pick a single winner across axes — that's the reranking the separation exists to prevent.
|
|
82
|
+
|
|
83
|
+
## Why two axes
|
|
84
|
+
|
|
85
|
+
A change can pass one axis and fail the other:
|
|
86
|
+
|
|
87
|
+
- Code that follows every standard but implements the wrong thing → **Standards pass, Spec fail.**
|
|
88
|
+
- Code that does exactly what the issue asked but breaks the project's conventions → **Spec pass, Standards fail.**
|
|
89
|
+
|
|
90
|
+
Reporting them separately stops one axis from masking the other.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Deepening
|
|
2
|
+
|
|
3
|
+
How to deepen a cluster of shallow modules safely, given its dependencies. Assumes the vocabulary in [SKILL.md](SKILL.md) — **module**, **interface**, **seam**, **adapter**.
|
|
4
|
+
|
|
5
|
+
## Dependency categories
|
|
6
|
+
|
|
7
|
+
When assessing a candidate for deepening, classify its dependencies. The category determines how the deepened module is tested across its seam.
|
|
8
|
+
|
|
9
|
+
### 1. In-process
|
|
10
|
+
|
|
11
|
+
Pure computation, in-memory state, no I/O. Always deepenable — merge the modules and test through the new interface directly. No adapter needed.
|
|
12
|
+
|
|
13
|
+
### 2. Local-substitutable
|
|
14
|
+
|
|
15
|
+
Dependencies that have local test stand-ins (PGLite for Postgres, in-memory filesystem). Deepenable if the stand-in exists. The deepened module is tested with the stand-in running in the test suite. The seam is internal; no port at the module's external interface.
|
|
16
|
+
|
|
17
|
+
### 3. Remote but owned (Ports & Adapters)
|
|
18
|
+
|
|
19
|
+
Your own services across a network boundary (microservices, internal APIs). Define a **port** (interface) at the seam. The deep module owns the logic; the transport is injected as an **adapter**. Tests use an in-memory adapter. Production uses an HTTP/gRPC/queue adapter.
|
|
20
|
+
|
|
21
|
+
Recommendation shape: *"Define a port at the seam, implement an HTTP adapter for production and an in-memory adapter for testing, so the logic sits in one deep module even though it's deployed across a network."*
|
|
22
|
+
|
|
23
|
+
### 4. True external (Mock)
|
|
24
|
+
|
|
25
|
+
Third-party services (Stripe, Twilio, etc.) you don't control. The deepened module takes the external dependency as an injected port; tests provide a mock adapter.
|
|
26
|
+
|
|
27
|
+
## Seam discipline
|
|
28
|
+
|
|
29
|
+
- **One adapter means a hypothetical seam. Two adapters means a real one.** Don't introduce a port unless at least two adapters are justified (typically production + test). A single-adapter seam is just indirection.
|
|
30
|
+
- **Internal seams vs external seams.** A deep module can have internal seams (private to its implementation, used by its own tests) as well as the external seam at its interface. Don't expose internal seams through the interface just because tests use them.
|
|
31
|
+
|
|
32
|
+
## Testing strategy: replace, don't layer
|
|
33
|
+
|
|
34
|
+
- Old unit tests on shallow modules become waste once tests at the deepened module's interface exist — delete them.
|
|
35
|
+
- Write new tests at the deepened module's interface. The **interface is the test surface**.
|
|
36
|
+
- Tests assert on observable outcomes through the interface, not internal state.
|
|
37
|
+
- Tests should survive internal refactors — they describe behaviour, not implementation. If a test has to change when the implementation changes, it's testing past the interface.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Design It Twice
|
|
2
|
+
|
|
3
|
+
When the user wants to explore alternative interfaces for a chosen deepening candidate, use this parallel sub-agent pattern. Based on "Design It Twice" (Ousterhout) — your first idea is unlikely to be the best.
|
|
4
|
+
|
|
5
|
+
Uses the vocabulary in [SKILL.md](SKILL.md) — **module**, **interface**, **seam**, **adapter**, **leverage**.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
### 1. Frame the problem space
|
|
10
|
+
|
|
11
|
+
Before spawning sub-agents, write a user-facing explanation of the problem space for the chosen candidate:
|
|
12
|
+
|
|
13
|
+
- The constraints any new interface would need to satisfy
|
|
14
|
+
- The dependencies it would rely on, and which category they fall into (see [DEEPENING.md](DEEPENING.md))
|
|
15
|
+
- A rough illustrative code sketch to ground the constraints — not a proposal, just a way to make the constraints concrete
|
|
16
|
+
|
|
17
|
+
Show this to the user, then immediately proceed to Step 2. The user reads and thinks while the sub-agents work in parallel.
|
|
18
|
+
|
|
19
|
+
### 2. Spawn sub-agents
|
|
20
|
+
|
|
21
|
+
Spawn 3+ sub-agents in parallel using the Agent tool. Each must produce a **radically different** interface for the deepened module.
|
|
22
|
+
|
|
23
|
+
Prompt each sub-agent with a separate technical brief (file paths, coupling details, dependency category from [DEEPENING.md](DEEPENING.md), what sits behind the seam). The brief is independent of the user-facing problem-space explanation in Step 1. Give each agent a different design constraint:
|
|
24
|
+
|
|
25
|
+
- Agent 1: "Minimize the interface — aim for 1–3 entry points max. Maximise leverage per entry point."
|
|
26
|
+
- Agent 2: "Maximise flexibility — support many use cases and extension."
|
|
27
|
+
- Agent 3: "Optimise for the most common caller — make the default case trivial."
|
|
28
|
+
- Agent 4 (if applicable): "Design around ports & adapters for cross-seam dependencies."
|
|
29
|
+
|
|
30
|
+
Include both [SKILL.md](SKILL.md) vocabulary and CONTEXT.md vocabulary in the brief so each sub-agent names things consistently with the architecture language and the project's domain language.
|
|
31
|
+
|
|
32
|
+
Each sub-agent outputs:
|
|
33
|
+
|
|
34
|
+
1. Interface (types, methods, params — plus invariants, ordering, error modes)
|
|
35
|
+
2. Usage example showing how callers use it
|
|
36
|
+
3. What the implementation hides behind the seam
|
|
37
|
+
4. Dependency strategy and adapters (see [DEEPENING.md](DEEPENING.md))
|
|
38
|
+
5. Trade-offs — where leverage is high, where it's thin
|
|
39
|
+
|
|
40
|
+
### 3. Present and compare
|
|
41
|
+
|
|
42
|
+
Present designs sequentially so the user can absorb each one, then compare them in prose. Contrast by **depth** (leverage at the interface), **locality** (where change concentrates), and **seam placement**.
|
|
43
|
+
|
|
44
|
+
After comparing, give your own recommendation: which design you think is strongest and why. If elements from different designs would combine well, propose a hybrid. Be opinionated — the user wants a strong read, not a menu.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codebase-design
|
|
3
|
+
description: Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
|
|
4
|
+
group: domain
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Codebase Design
|
|
8
|
+
|
|
9
|
+
Design **deep modules**: a lot of behaviour behind a small interface, placed at a clean seam, testable through that interface. Use this language and these principles wherever code is being designed or restructured. The aim is leverage for callers, locality for maintainers, and testability for everyone.
|
|
10
|
+
|
|
11
|
+
## Glossary
|
|
12
|
+
|
|
13
|
+
Use these terms exactly — don't substitute "component," "service," "API," or "boundary." Consistent language is the whole point.
|
|
14
|
+
|
|
15
|
+
**Module** — anything with an interface and an implementation. Deliberately scale-agnostic: a function, class, package, or tier-spanning slice. _Avoid_: unit, component, service.
|
|
16
|
+
|
|
17
|
+
**Interface** — everything a caller must know to use the module correctly: the type signature, but also invariants, ordering constraints, error modes, required configuration, and performance characteristics. _Avoid_: API, signature (too narrow — they refer only to the type-level surface).
|
|
18
|
+
|
|
19
|
+
**Implementation** — what's inside a module, its body of code. Distinct from **Adapter**: a thing can be a small adapter with a large implementation (a Postgres repo) or a large adapter with a small implementation (an in-memory fake). Reach for "adapter" when the seam is the topic; "implementation" otherwise.
|
|
20
|
+
|
|
21
|
+
**Depth** — leverage at the interface: the amount of behaviour a caller (or test) can exercise per unit of interface they have to learn. A module is **deep** when a large amount of behaviour sits behind a small interface, **shallow** when the interface is nearly as complex as the implementation.
|
|
22
|
+
|
|
23
|
+
**Seam** _(Michael Feathers)_ — a place where you can alter behaviour without editing in that place; the *location* at which a module's interface lives. Where to put the seam is its own design decision, distinct from what goes behind it. _Avoid_: boundary (overloaded with DDD's bounded context).
|
|
24
|
+
|
|
25
|
+
**Adapter** — a concrete thing that satisfies an interface at a seam. Describes *role* (what slot it fills), not substance (what's inside).
|
|
26
|
+
|
|
27
|
+
**Leverage** — what callers get from depth: more capability per unit of interface they learn. One implementation pays back across N call sites and M tests.
|
|
28
|
+
|
|
29
|
+
**Locality** — what maintainers get from depth: change, bugs, knowledge, and verification concentrate in one place rather than spreading across callers. Fix once, fixed everywhere.
|
|
30
|
+
|
|
31
|
+
## Deep vs shallow
|
|
32
|
+
|
|
33
|
+
**Deep module** = small interface + lots of implementation:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
┌─────────────────────┐
|
|
37
|
+
│ Small Interface │ ← Few methods, simple params
|
|
38
|
+
├─────────────────────┤
|
|
39
|
+
│ │
|
|
40
|
+
│ Deep Implementation│ ← Complex logic hidden
|
|
41
|
+
│ │
|
|
42
|
+
└─────────────────────┘
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Shallow module** = large interface + little implementation (avoid):
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
┌─────────────────────────────────┐
|
|
49
|
+
│ Large Interface │ ← Many methods, complex params
|
|
50
|
+
├─────────────────────────────────┤
|
|
51
|
+
│ Thin Implementation │ ← Just passes through
|
|
52
|
+
└─────────────────────────────────┘
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
When designing an interface, ask:
|
|
56
|
+
|
|
57
|
+
- Can I reduce the number of methods?
|
|
58
|
+
- Can I simplify the parameters?
|
|
59
|
+
- Can I hide more complexity inside?
|
|
60
|
+
|
|
61
|
+
## Principles
|
|
62
|
+
|
|
63
|
+
- **Depth is a property of the interface, not the implementation.** A deep module can be internally composed of small, mockable, swappable parts — they just aren't part of the interface. A module can have **internal seams** (private to its implementation, used by its own tests) as well as the **external seam** at its interface.
|
|
64
|
+
- **The deletion test.** Imagine deleting the module. If complexity vanishes, it was a pass-through. If complexity reappears across N callers, it was earning its keep.
|
|
65
|
+
- **The interface is the test surface.** Callers and tests cross the same seam. If you want to test *past* the interface, the module is probably the wrong shape.
|
|
66
|
+
- **One adapter means a hypothetical seam. Two adapters means a real one.** Don't introduce a seam unless something actually varies across it.
|
|
67
|
+
|
|
68
|
+
## Designing for testability
|
|
69
|
+
|
|
70
|
+
Good interfaces make testing natural:
|
|
71
|
+
|
|
72
|
+
1. **Accept dependencies, don't create them.**
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
// Testable
|
|
76
|
+
function processOrder(order, paymentGateway) {}
|
|
77
|
+
|
|
78
|
+
// Hard to test
|
|
79
|
+
function processOrder(order) {
|
|
80
|
+
const gateway = new StripeGateway();
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
2. **Return results, don't produce side effects.**
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
// Testable
|
|
88
|
+
function calculateDiscount(cart): Discount {}
|
|
89
|
+
|
|
90
|
+
// Hard to test
|
|
91
|
+
function applyDiscount(cart): void {
|
|
92
|
+
cart.total -= discount;
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
3. **Small surface area.** Fewer methods = fewer tests needed. Fewer params = simpler test setup.
|
|
97
|
+
|
|
98
|
+
## Relationships
|
|
99
|
+
|
|
100
|
+
- A **Module** has exactly one **Interface** (the surface it presents to callers and tests).
|
|
101
|
+
- **Depth** is a property of a **Module**, measured against its **Interface**.
|
|
102
|
+
- A **Seam** is where a **Module**'s **Interface** lives.
|
|
103
|
+
- An **Adapter** sits at a **Seam** and satisfies the **Interface**.
|
|
104
|
+
- **Depth** produces **Leverage** for callers and **Locality** for maintainers.
|
|
105
|
+
|
|
106
|
+
## Rejected framings
|
|
107
|
+
|
|
108
|
+
- **Depth as ratio of implementation-lines to interface-lines** (Ousterhout): rewards padding the implementation. We use depth-as-leverage instead.
|
|
109
|
+
- **"Interface" as the TypeScript `interface` keyword or a class's public methods**: too narrow — interface here includes every fact a caller must know.
|
|
110
|
+
- **"Boundary"**: overloaded with DDD's bounded context. Say **seam** or **interface**.
|
|
111
|
+
|
|
112
|
+
## Going deeper
|
|
113
|
+
|
|
114
|
+
- **Deepening a cluster given its dependencies** — see [DEEPENING.md](DEEPENING.md): dependency categories, seam discipline, and replace-don't-layer testing.
|
|
115
|
+
- **Exploring alternative interfaces** — see [DESIGN-IT-TWICE.md](DESIGN-IT-TWICE.md): spin up parallel sub-agents to design the interface several radically different ways, then compare on depth, locality, and seam placement.
|