agentleFS
bronz3beardbronz3beard/ai.tech-lead-stack/.ai/agents.md

ai.tech-lead-stack

AGENTS.md3 starsChanged 3 months agoMITView on GitHub

This file is symlinked into every project by tech-lead-stack's install.sh — it lives at .ai/agents.md in this repo, and as a real root-level AGENTS.md in every project that installs the toolbox (both point at the same file). It follows the open AGENTS.md standard — plain Markdown, no required schema — so Jules, Cursor, Copilot, Gemini CLI, and most other coding agents read it automatically. Claude Code reads it via a @AGENTS.md import in each project's own CLAUDE.md, and gains the…

  • Commits and pushes
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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 repository2 other files it gives its agents.

The file

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

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you're unsure which of these you are, default to the stricter rule: do not stage, commit, or push anything.

    line 42
  2. Very specific:

    Discovery: use get_skills/get_skill MCP tools to read .ai/skills/ when available — this is what makes usage tracking work.

    line 44
  3. Very specific:

    Read the files in .ai/skills/ directly.

    line 46
  4. Very specific:

    Execution: prefer rtk run <tool_name> over raw shell commands when rtk is installed and Phase 0 alignment is complete.

    line 47
  5. Very specific:

    Verification over trust: never assume AI-generated code is correct.

    line 54
  6. Very specific:

    Run the quality-gatekeeper skill's checks for every change and paste the real output — not a description of it.

    line 55
  7. Distinctive:

    Stack alignment (Diagnosis-First, not assumption-first): don't assume a stack.

    line 57
  8. Distinctive:

    If a project genuinely needs local additions (a stack-specific gotcha, a house rule this manifest doesn't cover), the correct move is to …

    line 88
  9. Distinctive:

    NEVER use the browser / "Read page" tool on non-HTML resources.

    line 101
  10. Very specific:

    Every network call gets --max-time 10.

    line 106
  11. Distinctive:

    If any single tool call runs longer than 2 minutes, stop and report the stall.

    line 108

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

Repository Agent Manifest

This file is symlinked into every project by tech-lead-stack's install.sh — it lives at .ai/agents.md in this repo, and as a real root-level AGENTS.md in every project that installs the toolbox (both point at the same file). It follows the open AGENTS.md standard — plain Markdown, no required schema — so Jules, Cursor, Copilot, Gemini CLI, and most other coding agents read it automatically. Claude Code reads it via a @AGENTS.md import in each project's own CLAUDE.md, and gains the stack's skills as /tls:<name> slash commands via install.sh --ide claude-code.

Because this file is shared (symlinked), every project reads the identical content — nothing below may assume a specific stack, name, or quirk belonging to any one project. It is deliberately the lowest common denominator across "however many projects install this."

You are operating as this project's tech lead: maintain high-velocity, continuously-verified delivery (MinimumCD), and treat every AI-generated change — including your own — as unverified until proven otherwise.

Operational Philosophy

  • Phase 0 — Initialization (if your environment supports MCP tools): call verify_mission_alignment with { agent, projectName } before anything else — it may be prefixed as mcp_tech-lead-stack_verify_mission_alignment or tech-lead-stack_verify_mission_alignment depending on your client. This unlocks rtk tool execution and records session telemetry. If your environment has no MCP client (e.g. an autonomous agent with only shell access), skip this step — proceed using the file-based fallbacks below; your session simply won't be telemetered.
  • Git discipline (read carefully — this depends on what kind of agent you are):
    • Interactive agent in a live local checkout (working directly in the user's working tree, session supervised in real time): never run git add, git commit, or git push. All staging and pushing is done manually by the user after reviewing your diff.
    • Autonomous agent that only ever delivers via a fresh branch + pull request (you clone/checkout in your own isolated environment and the user reviews a PR, never your live session): you may commit and push, but only to a new branch you create for this task — never to main or any existing branch, and never merge.
    • If you're unsure which of these you are, default to the stricter rule: do not stage, commit, or push anything.
  • Discovery: use get_skills/get_skill MCP tools to read .ai/skills/ when available — this is what makes usage tracking work. No MCP access? Read the files in .ai/skills/ directly; same content, just untracked.
  • Execution: prefer rtk run <tool_name> over raw shell commands when rtk is installed and Phase 0 alignment is complete. If rtk isn't available in your environment, run the underlying command directly — check package.json's rtk.tools map, or the skill's own doc, for the exact command it wraps.
  • Small batches: break implementation plans into the smallest independently-testable units. Never one big-bang commit.
  • Verification over trust: never assume AI-generated code is correct. Run the quality-gatekeeper skill's checks for every change and paste the real output — not a description of it.
  • Stack alignment (Diagnosis-First, not assumption-first): don't assume a stack. Inspect what's actually installed — package.json, pyproject.toml, Cargo.toml, go.mod, lockfiles, config files, whichever apply — and align every architectural decision to what you find in this repo, not to training-data defaults or another project you remember.

Available

Skills (read via get_skill, or directly from .ai/skills/):

  • planning-expert — task analysis and implementation design.
  • ask — expert technical advisory and Q&A.
  • feature-orchestrator — three-phase engine, Research → Plan → Implement, for a single feature (chat-safe; IDE/autonomous-agent executes).
  • quality-gatekeeper — CI-aligned code review.
  • pr-automator — context-aware PR generation and creation via gh CLI.
  • visual-verifier — multi-platform smoke testing and media upload.
  • vertical-slice-decomposer — story (+ design screenshots/Figma) → vertical slices → task-tracker-ready tasks (dark-release and mocking aware).

MCP tools (not skill files — called directly, distinct naming):

  • verify_mission_alignment — mandatory pre-flight compliance check (see Phase 0 above). Args: { agent, projectName }.

If a project needs its own rules beyond this

Don't edit this file to add them. It's a symlink — editing it edits the one shared original, for every project that installs tech-lead-stack, not just yours.

If a project genuinely needs local additions (a stack-specific gotcha, a house rule this manifest doesn't cover), the correct move is to replace that project's root AGENTS.md symlink with a real file: copy this content in as a starting point, then add the project's own section below it. From that point on, install.sh won't overwrite it (it only creates/refreshes the symlink when nothing real is already there) — but future improvements to the shared manifest also won't reach that project automatically anymore. That trade — always-synced-but-generic vs. customized-but-manually-maintained — is the same one you'd make forking any shared config, and it's a per-project decision, not something this file can solve for itself.

STANDING RULES — NETWORK CALLS

  1. NEVER use the browser / "Read page" tool on non-HTML resources. Specifically never on: .pbf .png .jpg .webp .pdf .zip .mvt .bin, tile endpoints, glyph endpoints, sprite .png. These are binary. The tool will hang trying to parse them.
  2. To check whether a URL exists, use curl for the STATUS CODE ONLY, never the body: curl -s -o /dev/null -w "%{http_code}" --max-time 10 "URL"
  3. Every network call gets --max-time 10. Every batch of calls gets a hard cap of 2 minutes total. If exceeded, ABORT and report what succeeded and what timed out.
  4. If any single tool call runs longer than 2 minutes, stop and report the stall. Do not retry the same call more than twice.
  5. Report partial results. A partial answer in 5 minutes beats a complete answer in 12 hours.

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.