Skip to content

Add CLAUDE.md and consolidate AI agent conventions#168

Merged
aram356 merged 17 commits intomainfrom
chore/claude-md-agent-conventions
Feb 20, 2026
Merged

Add CLAUDE.md and consolidate AI agent conventions#168
aram356 merged 17 commits intomainfrom
chore/claude-md-agent-conventions

Conversation

@aram356
Copy link
Copy Markdown
Contributor

@aram356 aram356 commented Feb 20, 2026

Summary

  • Establish CLAUDE.md as the single source of truth so Claude Code and Codex share identical project conventions
  • Add slash commands, subagents, issue templates, and PR template to standardize team workflows
  • Rewrite AGENTS.md as a thin redirect to eliminate duplication and drift

Changes

Crate / File Change
CLAUDE.md New — project overview, workspace layout, toolchain, build commands, coding conventions, adapter pattern, CI gates, standard workflow, verification guidance, subagent workflow/selection matrix, slash commands, MCPs, key files, deps philosophy, guardrails
AGENTS.md Rewritten — redirects to CLAUDE.md with 8-rule fallback summary for Codex
.claude/settings.json New — team-shared permission allowlist organized by category (read, cargo, npm, git)
.claude/commands/ New — 5 slash commands: /check-ci, /test-all, /test-crate, /review-changes, /verify
.claude/agents/ New — 7 subagents: code-simplifier, verify-app, build-validator, code-architect, pr-creator, issue-creator, repo-explorer
.github/ISSUE_TEMPLATE/ New — 3 form-based issue templates: Bug Report, Story, Task (blank issues disabled)
.github/pull_request_template.md New — PR template with summary, changes table, closes section, test plan, checklist
.github/*.yml Normalized YAML quote style and indentation
.gitignore Updated — track .claude/settings.json, .claude/commands/, .claude/agents/
examples/app-demo/Cargo.lock Updated — toml crate version bump

Closes

Closes #167

Test plan

  • cargo test --workspace --all-targets
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo check --workspace --all-targets --features "fastly cloudflare"
  • WASM builds: wasm32-wasip1 (Fastly) / wasm32-unknown-unknown (Cloudflare)
  • Manual testing via edgezero-cli dev
  • Other: Verify markdown renders correctly on GitHub, confirm no Rust source code changed (docs/config-only PR)

Checklist

  • Changes follow CLAUDE.md conventions
  • No Tokio deps added to core or adapter crates
  • Route params use {id} syntax (not :id)
  • Types imported from edgezero_core (not http crate)
  • New code has tests
  • No secrets or credentials committed

Consolidate all project conventions, coding standards, build commands,
workflow rules, and CI requirements into CLAUDE.md. Rewrite AGENTS.md
as a thin redirect with a fallback summary so both Claude Code and
Codex operate under identical rules from one source of truth.
@aram356 aram356 self-assigned this Feb 20, 2026
Track .claude/commands/ in git so the team shares slash commands.
Settings files remain gitignored (local-only).

Commands: /check-ci, /test-all, /test-crate, /review-changes, /verify
Copy link
Copy Markdown
Contributor

@prk-Jr prk-Jr left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Copy Markdown
Contributor

@ChristianPavilonis ChristianPavilonis left a comment

Choose a reason for hiding this comment

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

Do we need the TODO.md in the flow?

I use plan mode for this, just feels like an extra file always changing in source control.

Agents now present plans inline in the conversation and get approval
there. No more writing to or appending review sections to TODO.md.
…ator, code-architect

Specialized agents in .claude/agents/ for distributed work:
- code-simplifier: post-implementation cleanup
- verify-app: end-to-end verification pipeline
- build-validator: cross-target build matrix validation
- code-architect: architectural design review
- Add .github/pull_request_template.md with summary, changes table,
  closes section, test plan checkboxes, and checklist
- Add .claude/agents/pr-creator.md subagent for creating/updating PRs
  using the project template with CI gate verification
- Update CLAUDE.md subagent table to include pr-creator
- Add .github/ISSUE_TEMPLATE/ with three form-based templates:
  Bug Report, Story, and Task — each with relevant fields and
  scope dropdowns matching the project's crate structure
- Add config.yml to enable blank issues alongside templates
- Update PR template to prompt for linking an existing ticket
  with pre-filled "Closes #" syntax
Auto-format hook was reformatting YAML files (quote style,
indentation). Restore originals from main.
- build-validator: add --manifest-path for demo app builds (excluded
  from workspace)
- verify-app: same manifest-path fix, plus proper $pid-based process
  cleanup instead of job control
- Add .claude/agents/repo-explorer.md for read-only codebase mapping
- Add .claude/settings.json with organized permission allowlist (tracked)
- Remove PostToolUse hook — formatting enforced by CI and /check-ci
- Add subagent workflow, selection matrix, and repo-explorer to CLAUDE.md
- Disable blank issues in issue template config
- Normalize YAML quote style and indentation in .github/ configs
- Update .gitignore to track .claude/settings.json
- Add .claude/agents/issue-creator.md with GitHub issue types via
  GraphQL (Task, Bug, Story, Epic, Initiative)
- Update CLAUDE.md subagent table to include issue-creator
- Fix PR template: edgezero dev → edgezero-cli dev
Copy link
Copy Markdown
Contributor

@ChristianPavilonis ChristianPavilonis left a comment

Choose a reason for hiding this comment

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

Looks good

@aram356 aram356 merged commit bcf5c36 into main Feb 20, 2026
7 checks passed
@aram356 aram356 deleted the chore/claude-md-agent-conventions branch February 20, 2026 21:19
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.

Add CLAUDE.md and consolidate AI agent conventions

3 participants