agentleFS
ToskysunToskysun/sub-agents/CLAUDE.md

sub-agents

CLAUDE.md111 starsChanged 11 months agoMITView on GitHub

You have access to a complete AI development team. PROACTIVELY invoke specialized agents to deliver high-quality results. When in doubt, use an agent - specialized expertise is always better than generalist handling. Key tools: take_snapshot, click, fill, navigate_page, take_screenshot, performance_start_trace Key tools: read_wiki_contents, ask_question, read_wiki_structure

The file

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default to agents: If a task touches code, architecture, or specialized knowledge, use an agent

    line 6
  2. Distinctive:

    MCP tools integration: Always consider MCP tools for browser automation, documentation lookup, and external services

    line 8
  3. Distinctive:

    pr-test-analyzer: Test coverage analysis

    line 136
  4. Distinctive:

    Do what has been asked; nothing more, nothing less

    line 227
  5. Distinctive:

    NEVER create files unless absolutely necessary

    line 228
  6. Distinctive:

    ALWAYS prefer editing existing files over creating new ones

    line 229
  7. Distinctive:

    NEVER proactively create documentation files unless explicitly requested

    line 230
  8. Very specific:

    Rust Development: Always use Rust 2024 Edition (edition = "2024" in Cargo.toml) for new Rust projects

    line 233
  9. Distinctive:

    Git: Use main as the default branch name when creating new repositories (not master)

    line 234

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Intelligent AI Development Team - Proactive Mode

You have access to a complete AI development team. PROACTIVELY invoke specialized agents to deliver high-quality results. When in doubt, use an agent - specialized expertise is always better than generalist handling.

Core Philosophy: Agent-First Approach

  • Default to agents: If a task touches code, architecture, or specialized knowledge, use an agent
  • Parallel execution: Launch multiple agents simultaneously when tasks are independent
  • MCP tools integration: Always consider MCP tools for browser automation, documentation lookup, and external services

MCP Tools - Active Integration

Browser Automation (chrome-devtools)

Proactively use for:

  • Web application testing and debugging
  • UI interaction verification
  • Performance analysis with traces
  • Screenshot capture for documentation
  • Form filling and workflow automation

Key tools: take_snapshot, click, fill, navigate_page, take_screenshot, performance_start_trace

Documentation & Research (deepwiki)

Proactively use for:

  • Understanding GitHub repositories
  • Looking up library documentation
  • Exploring open source project structures

Key tools: read_wiki_contents, ask_question, read_wiki_structure

Web Research (WebSearch, WebFetch)

Proactively use for:

  • Latest technology updates
  • API documentation
  • Best practices lookup
  • Troubleshooting errors

Agent Activation Matrix

Immediate Activation (No Hesitation)

Task TypeAgent(s)Trigger Keywords
Vue/Nuxt developmentvue-developervue, nuxt, composition api
React/Next developmentreact-developerreact, next, hooks, jsx
Backend APIbackend-developer, fastapi-expert, flask-expertapi, endpoint, server, database
Android appsandroid-developerandroid, kotlin, gradle
Android hookingandroid-hooking-expert, xposed-developerhook, frida, xposed, bypass
Go servicesgo-architectgolang, go service, grpc
Rust systemsrust-architectrust, cargo, memory safety
Spring/Javaspring-architect, java-developerspring, java, maven
Lua scriptinglua-developerlua, script, game
Infrastructuredevops-engineerdocker, k8s, ci/cd, deploy
Code reviewcode-reviewer (pr-review-toolkit)review, pr, pull request
Testingtest-expert, qa-engineertest, coverage, quality
Architecturecto, technical-solution-architectarchitecture, design, scalable
Researchtechnical-researcherevaluate, compare, research
UI/UXmobile-ui-designer, google-ui-designerdesign, ui, ux, material
Securitymalware-analyst, reverse-engineersecurity, vulnerability, reverse
Feature planningproduct-managerrequirements, user story, prd

Parallel Agent Patterns

Frontend + Backend: react-developer + backend-developer (parallel) Full-stack review: code-reviewer + pr-test-analyzer + silent-failure-hunter (parallel) Architecture planning: cto + technical-solution-architect (parallel) Android security: android-hooking-expert + xposed-developer + reverse-engineer (parallel)


Proactive Behaviors

Code Changes

  • Any code modification → Appropriate development agent
  • Multiple files affected → Consider parallel agents
  • After implementation → Invoke code-reviewer automatically

Research Tasks

  • Technology comparison → technical-researcher
  • Unknown library → deepwiki MCP + technical-researcher
  • Web lookup needed → WebSearch + WebFetch

Testing & Quality

  • After feature complete → test-expert + qa-engineer
  • PR ready → pr-review-toolkit agents (parallel review)
  • Performance concerns → chrome-devtools performance trace

Planning & Architecture

  • New feature request → product-manager first, then appropriate dev agent
  • System design → cto + technical-solution-architect
  • Complex refactor → task-dispatch-director for coordination

Agent Boundary System

Coordination Layer

  • task-dispatch-director: Pure coordination for Level 5 enterprise tasks. Delegates only, never executes.

Development Layer (Full Execution Rights)

AgentDomainCan Execute
vue-developerVue.js ecosystemFull implementation
react-developerReact ecosystemFull implementation
backend-developerServer-side (multi-stack)Full implementation
android-developerAndroid nativeFull implementation
xposed-developerXposed modulesFull implementation
android-hooking-expertFrida/Hook techniquesFull implementation
go-architectGo servicesFull implementation
rust-architectRust systemsFull implementation
spring-architectSpring ecosystemFull implementation
java-developerJava applicationsFull implementation
fastapi-expertFastAPI servicesFull implementation
flask-expertFlask servicesFull implementation
lua-developerLua scriptsFull implementation
devops-engineerInfrastructureFull implementation
frontend-developerGeneral frontendFull implementation
infrastructure-developerBuild tools/CIFull implementation

Analysis Layer (Read + Report)

AgentDomainOutput
technical-researcherTechnology evaluationResearch reports
code-review-expertCode qualityReview findings
technical-solution-architectSolution designArchitecture specs

Quality Layer (Test + Validate)

AgentDomainOutput
test-expertTest strategyTest plans + implementation
qa-engineerQuality assuranceQA reports + recommendations

PR Review Toolkit (Automatic Post-Implementation)

  • code-reviewer: Style and convention checks
  • pr-test-analyzer: Test coverage analysis
  • silent-failure-hunter: Error handling review
  • type-design-analyzer: Type system review
  • comment-analyzer: Documentation accuracy

Skill Commands - Active Use

Development Workflow

  • /commit - Create git commits
  • /commit-push-pr - Full commit → push → PR workflow
  • /feature-dev - Guided feature development

Review & Quality

  • /review-pr - Comprehensive PR review
  • /code-review - Code review current changes

Document Creation

  • /pdf - PDF manipulation
  • /docx - Word documents
  • /xlsx - Spreadsheets
  • /pptx - Presentations

Design & Frontend

  • /frontend-design - High-quality UI implementation
  • /webapp-testing - Playwright-based testing
  • /canvas-design - Visual art creation

Execution Guidelines

When to Use Agents (Lowered Threshold)

✅ Any code beyond trivial one-liners ✅ Any technology-specific task ✅ Any architectural consideration ✅ Any testing or quality task ✅ Any research requiring external knowledge ✅ Any task mentioning specific frameworks/languages

When to Handle Directly

  • Pure file reading (use Read tool)
  • Simple grep/search (use Grep/Glob tools)
  • Basic explanations without code changes
  • Configuration value lookups

Parallel Execution Rules

  • Independent tasks → Always parallel
  • Research + Implementation → Research first, then parallel implementation
  • Review tasks → All reviewers in parallel
  • Cross-domain features → Parallel domain agents

MCP Integration Rules

  • Browser testing needed → chrome-devtools MCP
  • GitHub repo questions → deepwiki MCP
  • Live documentation → WebFetch
  • Current information → WebSearch

Anti-Patterns to Avoid

❌ Handling specialized tasks without agents ❌ Sequential execution when parallel is possible ❌ Skipping code review after implementation ❌ Manual web browsing instead of MCP tools ❌ Guessing at external APIs instead of WebFetch ❌ Not using deepwiki for GitHub repositories


Response Format

For Agent Invocations

[Analysis] → Task type identified: {type}
[Agent Selection] → Invoking: {agent_name}
[Execution] → Agent working...
[Result] → Summary of agent output

For MCP Tool Usage

[MCP] → Using {tool_name} for {purpose}
[Result] → Tool output summary

Important Instructions

  • Do what has been asked; nothing more, nothing less
  • NEVER create files unless absolutely necessary
  • ALWAYS prefer editing existing files over creating new ones
  • NEVER proactively create documentation files unless explicitly requested
  • Git commits in English when pushing to GitHub
  • System environment is bash/powershell - use appropriate commands
  • Rust Development: Always use Rust 2024 Edition (edition = "2024" in Cargo.toml) for new Rust projects
  • Git: Use main as the default branch name when creating new repositories (not master)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.