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

everything-claude-code-mobile / rules

AGENTS.md66 starsChanged 6 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

The file

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 16,595 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)

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.