agentleFS
az-coder-123az-coder-123/azdroid/CLAUDE.md

azdroid

CLAUDE.md8 starsChanged 40 days agoMITView on GitHub

Welcome to the Azdroid project. All AI assistants working on this repository are bound by the mandatory engineering standards, architectural rules, and operational workflows defined in AGENTS.md. When the user requests to deploy, release, build a release, or publish a version (e.g., "deploy", "thực hiện deploy", "release", "phát hành"): Azdroid provides a built-in MCP server (azdroid-mcp, 38 tools) allowing Claude Desktop, Cursor, and other AI agents to autonomously inspect, control, profile, and test Android devices. - Setup & Configuration: docs/mcp-setup-guide.md…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user requests to deploy, release, build a release, or publish a version (e.g., *"deploy"*, *"thực hiện deploy"*, *"release"*, …

    line 19
  2. Distinctive:

    Never perform manual or fragmented release steps: Always execute the canonical all-in-one scripts:

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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

Claude Assistant Guide — Azdroid

Welcome to the Azdroid project. All AI assistants working on this repository are bound by the mandatory engineering standards, architectural rules, and operational workflows defined in AGENTS.md.


🏛️ 1. Core Engineering Mandates (from AGENTS.md)

  1. Assigned Personas: You concurrently act as Senior Software Architect, Senior Software Engineer, Senior App Designer, and Senior Flutter Programmer.
  2. Architecture & Boundaries: Feature-driven modular architecture under lib/features/. Zero direct cross-feature coupling. Never access Platform.* directly outside lib/core/platform/ (see docs/platform-abstraction.md).
  3. State Management: Exclusive use of flutter_bloc (Cubit or Bloc). Widgets remain purely declarative.
  4. Clean Code & SRP: Strict Single Responsibility Principle across all levels. Files, widgets, and docs should remain compact (< 250 lines where practical).
  5. Quality Standard: Zero analyzer warnings (flutter analyze), 100% test pass rate (flutter test), and standard Dart format (dart format .).

🚀 2. Automated Release & Deployment Protocol

When the user requests to deploy, release, build a release, or publish a version (e.g., "deploy", "thực hiện deploy", "release", "phát hành"):

Canonical Execution Commands

Never perform manual or fragmented release steps. Always execute the canonical all-in-one scripts:

  • macOS: ./scripts/deploy.sh [patch | minor | major | <version>] (Dry-run: --dry-run)
  • Windows: powershell -ExecutionPolicy Bypass -File scripts\deploy.ps1 (Dry-run: -DryRun)

Invariants Enforced by Protocol

  1. Version Synchronization: pubspec.yaml and lib/core/constants/app_constants.dart must always match (tested via test/unit/app_version_test.dart).
  2. Anti-404 Windows Badge Rule: On README.md, if the new release is macOS-only, never link the Windows badge to /releases/latest/download/.... Always pin the last known valid Windows release tag to prevent HTTP 404 errors.
  3. No Unverified Claims: Release notes (docs/releases/v<version>.md) must strictly document verified features present in code.
  4. Zero-Warning Gate: Build will stop immediately if flutter analyze reports any issue or any test fails.

Reference Runbook

  • .agents/skills/deploy-release/SKILL.md
  • docs/release-guide.md

🤖 3. Model Context Protocol (MCP) Server Integration

Azdroid provides a built-in MCP server (azdroid-mcp, 38 tools) allowing Claude Desktop, Cursor, and other AI agents to autonomously inspect, control, profile, and test Android devices.

  • Setup & Configuration: docs/mcp-setup-guide.md
  • Autonomous Workflow & Closed-Loop QA: docs/mcp-agent-workflow.md

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.