Skip to content

chore: drop per-repo agent docs and tool-specific config#73

Merged
lukeocodes merged 2 commits intomainfrom
chore/remove-claude-folder
May 8, 2026
Merged

chore: drop per-repo agent docs and tool-specific config#73
lukeocodes merged 2 commits intomainfrom
chore/remove-claude-folder

Conversation

@lukeocodes
Copy link
Copy Markdown
Member

@lukeocodes lukeocodes commented May 8, 2026

Summary

Removes per-repo agent instruction files and tool-specific Claude Code config:

  • `.claude/commands/check.md`
  • `.claude/commands/dev.md`
  • `.claude/commands/new-command.md`
  • `.claude/commands/readmes.md`
  • `.claude/commands/skills-update.md`
  • `.claude/commands/test.md`
  • `.claude/settings.json`
  • `AGENTS.md` (630 lines)
  • `CLAUDE.md` (76 lines)

Plus fixes two dangling references that would have 404'd:

  • `README.md` — `See AGENTS.md for detailed architecture and conventions.` → `See CONTRIBUTING.md for the contributor workflow.`
  • `CONTRIBUTING.md` — drops the trailing `See AGENTS.md` line; the surrounding section already covers the new-package checklist in full.

The `.github/prompts/pr-interface-review.md` reference is a generic cross-repo example list ("if the repo has compat-tracking docs like `AGENTS.md`, `CHANGELOG.md`, `MIGRATION.md`...") and stays correct as-is.

Why

The DX direction is agent-agnostic and consolidates onto one canonical AGENTS.md in `deepgram/dx-stack`, which covers cross-repo architecture for every DX service.

Per-repo agent docs duplicate content that already lives elsewhere:

Was in AGENTS.md / CLAUDE.md Now lives in
Architecture diagram README.md `### Architecture` (auto-generated from `make readmes`)
Package list README.md `### Packages` (auto-generated)
Command list README.md `### Commands` (auto-generated)
Code style (ruff, mypy strict) enforced by `make check` in CI
Release-please version markers enforced by `.github/release-please-config.json`
New-package checklist CONTRIBUTING.md `### Adding a Command`
Cross-stack rules (port map, auth flows) dx-stack/AGENTS.md, dx-stack/docs/*
Skill regeneration after new commands `dg skills update` self-documents in its `--help`

Shipping our own AGENTS.md alongside the canonical dx-stack one means two sources of truth that can drift; deleting solves that.

Net diff

```
11 files changed, 1 insertion(+), 776 deletions(-)
```

Single insertion is the README pointer rewrite to CONTRIBUTING.md.

lukeocodes added 2 commits May 8, 2026 21:14
Removes tool-specific Claude Code config (.claude/commands/*.md and
.claude/settings.json) from the repo. The DX direction is agent-
agnostic — instructions live in AGENTS.md (read by every agent that
supports the convention) and skills come from the deepgram/skills
repo via 'dg skills install'. There's no longer a reason to ship
Claude Code-specific slash commands here.
Removes the per-repo agent instruction files. The dx-stack convention
is that one canonical AGENTS.md (in deepgram/dx-stack) covers cross-
repo architecture; per-repo agent docs duplicate content that already
lives in README.md (architecture, packages, dev commands) or in
CONTRIBUTING.md (release process, code style).

CLAUDE.md (76 lines) was a tool-specific pointer to AGENTS.md plus DX
stack rules already encoded in deepgram/dx-stack docs. AGENTS.md (630
lines) duplicated the README's architecture and packages sections,
plus rules now enforced by CI (make check, release-please version
markers) or by the dg CLI itself (dg skills update).

Updates two dangling references so README/CONTRIBUTING don't 404:
  - README.md: 'See AGENTS.md for detailed architecture and
    conventions' -> 'See CONTRIBUTING.md for the contributor workflow'
  - CONTRIBUTING.md: drops the trailing 'See AGENTS.md' line — the
    surrounding section already describes the new-package checklist
    in full

The .github/prompts/pr-interface-review.md mention is a generic cross-
repo example list ('if the repo has compat-tracking docs e.g. AGENTS.md
...') and remains correct as-is.
@lukeocodes lukeocodes changed the title chore: remove .claude folder chore: drop per-repo agent docs and tool-specific config May 8, 2026
@lukeocodes lukeocodes merged commit b1fa80f into main May 8, 2026
38 checks passed
@lukeocodes lukeocodes deleted the chore/remove-claude-folder branch May 8, 2026 20:22
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.

1 participant