AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
77/100
Scores the file, not the repository.Length
836 words
13 headings · 1 code blocksRepository
19
— · pushed 152 days agoLast changed
3 days ago
First indexed 3 days ago.1# Everything Copilot CLI (ECC) — Agent Instructions23This is a **production-ready AI coding plugin** providing 13 specialized agents, 50+ skills, 26 commands, and automated hook workflows for software development.45## Core Principles671. **Agent-First** — Delegate to specialized agents for domain tasks82. **Test-Driven** — Write tests before implementation, 80%+ coverage required93. **Security-First** — Never compromise on security; validate all inputs104. **Immutability** — Always create new objects, never mutate existing ones115. **Plan Before Execute** — Plan complex features before writing code1213## Available Agents1415| Agent | Purpose | When to Use |16|-------|---------|-------------|17| planner | Implementation planning | Complex features, refactoring |18| architect | System design and scalability | Architectural decisions |19| tdd-guide | Test-driven development | New features, bug fixes |20| code-reviewer | Code quality and maintainability | After writing/modifying code |21| security-reviewer | Vulnerability detection | Before commits, sensitive code |22| build-error-resolver | Fix build/type errors | When build fails |23| e2e-runner | End-to-end Playwright testing | Critical user flows |24| refactor-cleaner | Dead code cleanup | Code maintenance |25| doc-updater | Documentation and codemaps | Updating docs |26| go-reviewer | Go code review | Go projects |27| go-build-resolver | Go build errors | Go build failures |28| database-reviewer | PostgreSQL/Supabase specialist | Schema design, query optimization |29| python-reviewer | Python code review | Python projects |3031## Agent Orchestration3233Use agents proactively without user prompt:34- Complex feature requests → **planner**35- Code just written/modified → **code-reviewer**36- Bug fix or new feature → **tdd-guide**37- Architectural decision → **architect**38- Security-sensitive code → **security-reviewer**3940Use parallel execution for independent operations — launch multiple agents simultaneously.4142## Security Guidelines4344**Before ANY commit:**45- No hardcoded secrets (API keys, passwords, tokens)46- All user inputs validated47- SQL injection prevention (parameterized queries)48- XSS prevention (sanitized HTML)49- CSRF protection enabled50- Authentication/authorization verified51- Rate limiting on all endpoints52- Error messages don't leak sensitive data5354**Secret management:** NEVER hardcode secrets. Use environment variables or a secret manager. Validate required secrets at startup. Rotate any exposed secrets immediately.5556**If security issue found:** STOP → use security-reviewer agent → fix CRITICAL issues → rotate exposed secrets → review codebase for similar issues.5758## Coding Style5960**Immutability (CRITICAL):** Always create new objects, never mutate. Return new copies with changes applied.6162**File organization:** Many small files over few large ones. 200-400 lines typical, 800 max. Organize by feature/domain, not by type. High cohesion, low coupling.6364**Error handling:** Handle errors at every level. Provide user-friendly messages in UI code. Log detailed context server-side. Never silently swallow errors.6566**Input validation:** Validate all user input at system boundaries. Use schema-based validation. Fail fast with clear messages. Never trust external data.6768**Code quality checklist:**69- Functions small (<50 lines), files focused (<800 lines)70- No deep nesting (>4 levels)71- Proper error handling, no hardcoded values72- Readable, well-named identifiers7374## Testing Requirements7576**Minimum coverage: 80%**7778Test types (all required):791. **Unit tests** — Individual functions, utilities, components802. **Integration tests** — API endpoints, database operations813. **E2E tests** — Critical user flows8283**TDD workflow (mandatory):**841. Write test first (RED) — test should FAIL852. Write minimal implementation (GREEN) — test should PASS863. Refactor (IMPROVE) — verify coverage 80%+8788Troubleshoot failures: check test isolation → verify mocks → fix implementation (not tests, unless tests are wrong).8990## Development Workflow91921. **Plan** — Use planner agent, identify dependencies and risks, break into phases932. **TDD** — Use tdd-guide agent, write tests first, implement, refactor943. **Review** — Use code-reviewer agent immediately, address CRITICAL/HIGH issues954. **Commit** — Conventional commits format, comprehensive PR summaries9697## Git Workflow9899**Commit format:** `<type>: <description>` — Types: feat, fix, refactor, docs, test, chore, perf, ci100101**PR workflow:** Analyze full commit history → draft comprehensive summary → include test plan → push with `-u` flag.102103## Architecture Patterns104105**API response format:** Consistent envelope with success indicator, data payload, error message, and pagination metadata.106107**Repository pattern:** Encapsulate data access behind standard interface (findAll, findById, create, update, delete). Business logic depends on abstract interface, not storage mechanism.108109**Skeleton projects:** Search for battle-tested templates, evaluate with parallel agents (security, extensibility, relevance), clone best match, iterate within proven structure.110111## Performance112113**Context management:** Avoid last 20% of context window for large refactoring and multi-file features. Lower-sensitivity tasks (single edits, docs, simple fixes) tolerate higher utilization.114115**Build troubleshooting:** Use build-error-resolver agent → analyze errors → fix incrementally → verify after each fix.116117## Project Structure118119```120agents/ — 13 specialized subagents (.agent.md)121skills/ — 50+ workflow skills and domain knowledge122commands/ — 26 slash commands123hooks/ — Trigger-based automations (hooks.json)124.github/ — Copilot instructions (copilot-instructions.md + *.instructions.md)125scripts/ — Cross-platform Node.js utilities126mcp-configs/ — 14 MCP server configurations127tests/ — Test suite128```129130## Success Metrics131132- All tests pass with 80%+ coverage133- No security vulnerabilities134- Code is readable and maintainable135- Performance is acceptable136- User requirements are met137
Also in j7-dev/everything-github-copilot
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| j7-dev/everything-github-copilotskills/react-best-practices/AGENTS.md · 19 | AGENTS.md | buildlint-formatstylearch+8 | 64/100 | 3 days ago | |
| j7-dev/everything-github-copilot.codex/AGENTS.md · 19 | AGENTS.md | securityagent-behaviour | 59/100 | 3 days ago | |
| j7-dev/everything-github-copilot.github/copilot-instructions.md · 19 | Copilot instructions | buildtestlint-formatstyle+6 | 76/100 | 3 days ago | |
| j7-dev/everything-github-copilot.github/instructions/go.instructions.md · 19 | Copilot instructions | testlint-formatstyletesting-strategy+1 | 77/100 | 3 days ago | |
| j7-dev/everything-github-copilot.github/instructions/python.instructions.md · 19 | Copilot instructions | testlint-formatstyletypes+2 | 85/100 | 3 days ago | |
| j7-dev/everything-github-copilot.github/instructions/swift.instructions.md · 19 | Copilot instructions | testlint-formatstyletypes+2 | 81/100 | 3 days ago | |
| j7-dev/everything-github-copilot.github/instructions/typescript.instructions.md · 19 | Copilot instructions | testlint-formatstyletypes+4 | 62/100 | 3 days ago | |
| j7-dev/everything-github-copilotCLAUDE.md · 19 | CLAUDE.md | testarchagent-behaviour | 81/100 | 3 days ago |
Diff against skills/react-best-practices/AGENTS.md Diff against .codex/AGENTS.md Diff against .github/copilot-instructions.md Diff against .github/instructions/go.instructions.md Diff against .github/instructions/python.instructions.md Diff against .github/instructions/swift.instructions.md Diff against .github/instructions/typescript.instructions.md Diff against CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
