Skip to content

Add DOMAIN_CONTEXT, ADRs, and project-scoped agent skills#1118

Open
busbyk wants to merge 3 commits into
toolingfrom
tooling-domain-context
Open

Add DOMAIN_CONTEXT, ADRs, and project-scoped agent skills#1118
busbyk wants to merge 3 commits into
toolingfrom
tooling-domain-context

Conversation

@busbyk

@busbyk busbyk commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds a domain glossary, two architecture ADRs, agent-facing process docs, and a set of project-scoped engineering skills + agent config. Docs/tooling only — no runtime code changes.

The most significant change here is the guidance for Claude on issue tracking. So put review emphasis on the issue-tracker docs -- these are from https://github.com/mattpocock/skills/tree/main/skills/engineering/setup-matt-pocock-skills

Stacked on tooling (#1117).

Related Issues

N/A

Key Changes

  • DOMAIN_CONTEXT.md — domain glossary
  • ADRs: 015-national-course-catalog.md, 016-per-tenant-globals-as-unique-tenant-collections.md (with drift bindings) -- these are both pre-existing decisions but they felt worth defining explicitly.
  • docs/agents/ — domain, issue-tracker, and triage-labels process docs
  • Project-scoped engineering skills under .agents/skills/ + .claude/skills/ and agent config; .gitignore updated to track .claude/skills
  • CLAUDE.md references the new agent skills/docs

How to test

pnpm drift:check → "docs ok" (the new ADRs are bound). No app/runtime impact.

Migration Explanation

N/A — no schema/DB changes.

Future enhancements / Questions

N/A

busbyk and others added 2 commits June 16, 2026 16:31
Scaffold the per-repo setup the Matt Pocock engineering skills assume:

- docs/agents/{issue-tracker,triage-labels,domain}.md — consumer rules
  pointing skills at GitHub Issues, canonical triage labels, and a
  single-context domain layout
- CLAUDE.md — add an "Agent skills" section linking those docs
- .agents/skills/ — copy 10 workflow skills (to-issues, to-prd, triage,
  diagnose, tdd, improve-codebase-architecture, grill-with-docs, grill-me,
  zoom-out, setup-matt-pocock-skills), with grill-with-docs' ADR-FORMAT
  realigned to this repo's house template
- .claude/skills/ — relative symlinks into .agents/skills
- .gitignore — un-ignore .claude/skills while keeping the rest of .claude ignored

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Produced via a /grill-with-docs session over the codebase:

- DOMAIN_CONTEXT.md — domain glossary covering Tenancy, People,
  Access & Roles, Organizations & Programs, Avalanche Education,
  Events, and Content & Site Configuration, with canonical terms and
  _Avoid_ guidance for overloaded language (Tenant vs Avalanche Center,
  User vs Biography, Course vs Event, Tag vs EventTag, etc.)
- docs/decisions/015-national-course-catalog.md — Providers & Courses
  are national/shared, deliberately outside per-tenant isolation
- docs/decisions/016-per-tenant-globals-as-unique-tenant-collections.md —
  per-tenant singletons modeled as unique-tenant collections, not
  Payload Globals
- drift.lock — bind both ADRs to the source files they describe

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Preview deployment: https://tooling-domain-context.preview.avy-fx.org

@busbyk busbyk changed the base branch from main to tooling June 17, 2026 21:01
@busbyk busbyk marked this pull request as ready for review June 17, 2026 21:03
@busbyk busbyk requested a review from rchlfryn June 17, 2026 21:07

@rchlfryn rchlfryn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excited to see how this works and use this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants