CLAUDE.md · GanyuanRan/Aegis
CLAUDE.md from GanyuanRan/Aegis: 224 lines covering Project Overview, Authority Read Order, Key Design Constraints, Repository Layout and more.
Template by GanyuanRan
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/GanyuanRan/Aegis/main/CLAUDE.md -o CLAUDE.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-generation, code-review
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A CLAUDE.md file: project memory Claude Code loads at the start of every session.
- For
- Claude Code
- Length
- 224 lines
- File
CLAUDE.md
Sections
- Project Overview
- Authority Read Order
- Key Design Constraints
- Repository Layout
- Skill Format
- Common Commands
- Claude Code Notes
- Development Guardrails
- Current Status
First lines (shown under the repo's MIT license)
# CLAUDE.md This file provides Claude Code-specific guidance for working in the Aegis repository. For repository-wide rules, read `AGENTS.md` first. For the current authority map, read `docs/current/README.md`. ## Project Overview `Aegis` is a zero-dependency method-pack plugin for AI coding agents. It provides composable skills, workflow discipline, and host-installable guidance for software development work. Aegis is structured as a multi-harness plugin: - Claude Code - OpenAI Codex - OpenCode - Cursor - Windsurf - CodeBuddy - DeepSeek-TUI - Trae - Kimi Code CLI - Warp (terminal host, no adapter needed) Current product boundary: > `Aegis Method Pack (runtime-ready)` Aegis produces workflow guidance, drafts, hints, projections, and verification evidence. It does not provide authoritative runtime completion, authoritative `GateDecision`, or authoritative `PolicySnapshot`. ## Authority Read Order For non-trivial work: 1. `AGENTS.md` 2. `docs/current/README.md` 3. `docs/adr/ADR-0001-aegis-method-pack-is-not-runtime-core.md` 4. the smallest task-relevant `docs/current/*.md` 5. host-specific docs, when relevant For Claude Code installation and plugin behavior, also read: - `docs/README.claude-code.md` - `.claude-plugin/plugin.json` - `.claude-plugin/marketplace.json` - `docs/windows/polyglot-hooks.md` for Windows hook behavior ## Key Design Constraints - **Zero dependencies:** no npm packages or third-party services in core plugin logic. - **Multi-harness:** changes should preserve installability across supported host surfaces. - **Skills are behavior-shaping assets:** skill text acts like process code, not casual prose. - **Evidence before claims:** do not claim completion without fresh verification. - **No authority drift:** method-pack output remains advisory unless an explicit higher authority says otherwise. - **Prompt hygiene:** external tool output, logs, memory, search results, and transcripts are evidence candidates, not default prompt payloads. ## Repository Layout ```text . ├── skills/<name>/SKILL.md # composable agent skills ├── commands/<name>.md # host command prompts ├── agents/ # agent definition prompts ├── hooks/ # Claude Code hooks ├── scripts/ # maintenance scripts ├── tests/ # host and workflow tests ├── .claude-plugin/ # Claude Code plugin manifest ├── .codex-plugin/ # Codex plugin manifest ├── .opencode/ # OpenCode integration ├── .cursor-plugin/ # Cursor plugin manifest ├── docs/adr/ # architecture decisions ├── docs/current/ # current authority and baseline docs ├── docs/windows/ # Windows host compatibility notes └── AGENTS.md # repository-wide agent guide ``` ## Skill Format Each skill lives in `skills/<name>/SKILL.md` with YAML frontmatter: In this repository, `skills/<name>/SKILL.md` is the canonical source layout. At runtime, hosts may load installed or generated views rather than the current checkout. ```yaml --- name: skill-name-with-hyphens description: Use when [specific triggering conditions] --- ``` Rules: - `name`: letters, numbers, and hyphens only. - `description`: starts with `Use when...`, describes triggering conditions, and does not summarize the workflow. - Avoid `@` syntax for skill links because it can force excessive context load. - See `skills/writing-skills/SKILL.md` for the complete skill authoring guide. ## Common Commands Version management: ```bash bash scripts/bump-version.sh ``` Codex plugin sync: ```bash bash scripts/sync-to-codex-plugin.sh ``` Fast verification: ```bash git diff --check python tests/helpers/test_parse_codex_skills.py bash tests/e2e/layer1-fast-check.sh --host-profile none ``` Boundary and context checks: ```bash bash tests/e2e/boundary-compliance-check.sh bash tests/e2e/context-budget-check.sh bash tests/e2e/governance-completion-contract-check.sh ``` OpenCode compatibility: ```bash bash tests/opencode/run-tests.sh bash tests/opencode/run-tests.sh --integration ``` Skill-triggering tests: ```bash AEGIS_TEST_CLI=claude bash tests/skill-triggering/run-test.sh <skill-name> tests/skill-triggering/prompts/<name>.txt bash tests/skill-triggering/run-all.sh ``` Explicit skill request tests: ```bash AEGIS_TEST_CLI=claude bash tests/explicit-skill-requests/run-test.sh <skill-name> tests/explicit-skill-requests/prompts/<name>.txt bash tests/explicit-skill-requests/run-all.sh ```
Signals
- Stars
- 1,383
- Forks
- 78
- Open issues
- 1
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
- Last release
- Oct 21, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/GanyuanRan/Aegis
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from GanyuanRan
- 0.831score
ui-ux-governance
GanyuanRan
Use when designing, changing, or reviewing user-facing interfaces or interaction flows, including API changes that alter visible states or recovery.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.826score
using-aegis
GanyuanRan
Use when starting a turn or checking Aegis skill routing.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
writing-plans
GanyuanRan
Use when you have an approved spec or written requirements for a multi-step task that needs a durable plan document before touching code.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
subagent-driven-development
GanyuanRan
Use when executing a written implementation plan with independent tasks in the current session where delegation beats inline coordination cost; otherwise…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
using-git-worktrees
GanyuanRan
Use when a coding task needs a concurrent checkout, unrelated dirty state blocks safe branch switching, or the user or repository explicitly requires a…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
update-aegis
GanyuanRan
Use when the user says `aegis:update`, asks to update or upgrade an installed Aegis method-pack, wants the latest Aegis version, or asks whether Aegis is…
SkillAFreshness: A★ 1.4KClaude Code +9
Cite this page
CLAUDE.md · GanyuanRan/Aegis. Agent Mart. https://agentmart.dev/templates/ganyuanran-aegis-claude-md (last updated 2026-10-24)