Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .clinerules
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This file provides guidance to any coding agent when working with code in this r

[@CONTRIBUTIONS.md](/CONTRIBUTIONS.md)

## Discovery
- Skills live in `.claude/skills/*/SKILL.md` and should be loaded only on demand.
- Agents live in `.claude/agents/*.md` and should be used when task intent matches.
- Command templates live in `.claude/commands/*.md` and should be fetched when needed.

## Output Rules (Most Important)

### Prohibited Unnecessary Output
Expand Down
5 changes: 5 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This file provides guidance to any coding agent when working with code in this r

[@CONTRIBUTIONS.md](/CONTRIBUTIONS.md)

## Discovery
- Skills live in `.claude/skills/*/SKILL.md` and should be loaded only on demand.
- Agents live in `.claude/agents/*.md` and should be used when task intent matches.
- Command templates live in `.claude/commands/*.md` and should be fetched when needed.

## Output Rules (Most Important)

### Prohibited Unnecessary Output
Expand Down
5 changes: 5 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This file provides guidance to any coding agent when working with code in this r

[@CONTRIBUTIONS.md](/CONTRIBUTIONS.md)

## Discovery
- Skills live in `.claude/skills/*/SKILL.md` and should be loaded only on demand.
- Agents live in `.claude/agents/*.md` and should be used when task intent matches.
- Command templates live in `.claude/commands/*.md` and should be fetched when needed.

## Output Rules (Most Important)

### Prohibited Unnecessary Output
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Sync dependencies
run: uv sync --dev

- name: Agent rules synced
run: uv run --frozen scripts/agent_rules.py check

- name: Ruff check
run: uv run --frozen ruff check .

Expand Down
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This file provides guidance to any coding agent when working with code in this r

[@CONTRIBUTIONS.md](/CONTRIBUTIONS.md)

## Discovery
- Skills live in `.claude/skills/*/SKILL.md` and should be loaded only on demand.
- Agents live in `.claude/agents/*.md` and should be used when task intent matches.
- Command templates live in `.claude/commands/*.md` and should be fetched when needed.

## Output Rules (Most Important)

### Prohibited Unnecessary Output
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ For Claude Code, configure agent behaviors in `.claude/` directory:
- **Commands** (`.claude/commands/*.md`) - Slash commands for subagents: `/review`, `/plan`, `/refactor`, `/tdd`
- **Subagents** (`.claude/agents/*.md`) - Specialized agents for code review, planning, refactoring

Built-in slash commands and automatic skill discovery in `.claude/*` are currently Claude Code-only behaviors.

Inspired by [everything-claude-code](https://github.com/affaan-m/everything-claude-code), few patterns were summarized to help you better utilize Claude for coding a backend project.

### Backend
Expand Down Expand Up @@ -117,7 +119,6 @@ The compose files read environment variables from the repository root `.env` fil

This repo keeps a single source of truth for agent rules in `AGENTS.md`, and syncs it to:

- `CLAUDE.md`
- `.clinerules`
- `.cursorrules`
- `.github/copilot-instructions.md`
Expand All @@ -130,6 +131,8 @@ just agent-rules-sync

The `pre-commit` hook `agent-rules` runs the same check on commit.

For Codex, Cline, Cursor, and GitHub Copilot, `.claude` slash-command execution and skill auto-discovery are not built-in.

## Usage Examples

### Structured Logging
Expand Down
Loading