agentleFS
ahmed3elshaerahmed3elshaer/everything-claude-code-mobile/rules/agents.md

everything-claude-code-mobile / rules

AGENTS.md65 starsChanged 5 months agoMITView on GitHub

Use /feature-build to orchestrate all agents through a 7-phase pipeline: Phases: Plan → Implement → Test → Build Fix → Quality Gate → Verify → Learn

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

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use /feature-build to orchestrate all agents through a 7-phase pipeline:

    line 5
  2. Very specific:

    Use /feature-build for end-to-end feature construction

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.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
agents.md

Agent Delegation

Build a Complete Feature

Use /feature-build to orchestrate all agents through a 7-phase pipeline:

/feature-build Add user authentication with biometrics

Phases: Plan → Implement → Test → Build Fix → Quality Gate → Verify → Learn

When to Delegate

Code Review

SituationAgent
Android/Kotlin reviewandroid-reviewer
iOS/Swift reviewios-reviewer
Security auditmobile-security-reviewer
Performance reviewmobile-performance-reviewer

Build & Fix

SituationAgent
Gradle/AGP/R8 errorsandroid-build-resolver
Xcode/SPM/CocoaPods errorsxcode-build-resolver
Gradle optimizationgradle-expert

Architecture & Planning

SituationAgent
Architecture decisionsmobile-architect
KMP shared module designkmp-architect
Feature planningfeature-planner
Cross-platform modelsshared-model-designer

UI & Design

SituationAgent
Compose patternscompose-guide
SwiftUI patternsswiftui-guide
Material 3 Expressivem3-expressive-guide
Apple Liquid Glass (iOS 26+)liquid-glass-guide

Implementation (Layer Agents)

SituationAgent
Domain models, use cases, DIarchitecture-impl
API clients, DTOs, mappersnetwork-impl
Repositories, local DB, cachingdata-impl
Screens, ViewModels, componentsui-impl
Navigation, DI wiring, integrationwiring-impl

Testing

SituationAgent
TDD workflow (mandatory)mobile-tdd-guide
E2E / instrumentation testsmobile-e2e-runner
Unit tests (ViewModel, UseCase)unit-test-writer
UI tests (Compose, SwiftUI)ui-test-writer
Verification with pass@kmobile-verifier

Learning & Quality

SituationAgent
Extract codebase patternsmobile-pattern-extractor
Context compactionmobile-compactor

Guidelines

  • Delegate complex, specialized tasks
  • Provide context and constraints
  • Review agent output
  • Use /feature-build for end-to-end feature construction
  • Layer agents run in dependency order: architecture → network + UI → data → wiring

Download now (ZIP)

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

Does it work?

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

Reviews can't be read right now.

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.