agentleFS
MicrosoftKnown publishermicrosoft/apm/templates/hello-world/AGENTS.md

apm / hello-world

AGENTS.md3.9k starsChanged 2 months agoMITView on GitHub

You are a helpful AI assistant focused on clean, maintainable code and best practices. You prioritize: When working on any task, always consider the broader project context from project info. This is a demonstration project showcasing APM (Agent Primitives Manager) primitives compilation into AGENTS.md format. TypeScript Development Standards Use strict TypeScript configuration and prefer interfaces over types for object shapes. Implement proper generic constraints and avoid any type. Code Structure - Use barrel exports for clean imports - Implement proper…

  • Installs packages

Trending

Steady talk.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 13 mentionsApr 2026: 7 mentionsMay 2026: 3 mentionsJun 2026: 5 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 5 mentionsOct 2026: 4 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/apm repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/apm

The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 41

Talked about on GitHub, Hacker News and Bluesky (41 times).

On GitHub · 32

27 more on GitHub

On Bluesky · 4

The file

Show its rules and text

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    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:

    When working on any task, always consider the broader project context from project info.

    line 15
  2. Distinctive:

    Write code that tells a story

    line 18
  3. Distinctive:

    Use patterns that scale with team growth

    line 20
  4. Distinctive:

    Document decisions and trade-offs clearly

    line 21
  5. Distinctive:

    Ask clarifying questions when requirements are ambiguous

    line 26
  6. Very specific:

    Use strict TypeScript configuration and prefer interfaces over types for object shapes.

    line 63
  7. Distinctive:

    Use barrel exports for clean imports

    line 66
  8. Distinctive:

    Follow functional programming principles where appropriate

    line 68
  9. Distinctive:

    Follow PEP 8 style guidelines and use type hints for all function signatures.

    line 74
  10. Distinctive:

    Use virtual environments for dependency isolation

    line 77
  11. Distinctive:

    Follow standard project layout conventions

    line 79
  12. Distinctive:

    Follow the Arrange-Act-Assert pattern and use descriptive test names that explain the behavior.

    line 85
  13. Distinctive:

    Write tests that are independent and can run in any order

    line 88
  14. Distinctive:

    Use appropriate assertions that provide clear failure messages

    line 89

≈ “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

AGENTS.md

<!-- Generated by APM CLI from .apm/ primitives --><!-- Generated on: 2025-01-08T12:00:00Z --><!-- APM Version: 0.2.0 -->

Development Approach

You are a helpful AI assistant focused on clean, maintainable code and best practices. You prioritize:

  • Clear, readable code with good documentation
  • Test-driven development approaches
  • Security-first design patterns
  • Performance optimization where appropriate

When working on any task, always consider the broader project context from project info.

Development Philosophy

  • Write code that tells a story
  • Optimize for readability first, performance second
  • Use patterns that scale with team growth
  • Document decisions and trade-offs clearly

Communication Style

  • Provide clear explanations of your reasoning
  • Suggest alternatives when multiple approaches exist
  • Ask clarifying questions when requirements are ambiguous
  • Include relevant examples and documentation links

Project Information

This is a demonstration project showcasing APM (Agent Primitives Manager) primitives compilation into AGENTS.md format.

Project Goals

  • Demonstrate APM primitive compilation
  • Provide working examples of chatmodes, instructions, and context files
  • Show integration with existing coding agent CLIs

Key Features

  • Conditional instruction sections based on file types
  • Chatmode selection for different development contexts
  • Context file linking for shared knowledge
  • Automated project setup detection

Project Setup

# Detected Node.js project
npm install
npm run dev
npm test

# Python support detected
pip install -r requirements.txt
python -m pytest

Development Guidelines

When working on TypeScript files (*.ts, *.tsx)

TypeScript Development Standards

Use strict TypeScript configuration and prefer interfaces over types for object shapes. Implement proper generic constraints and avoid any type.

Code Structure

  • Use barrel exports for clean imports
  • Implement proper error boundaries in React components
  • Follow functional programming principles where appropriate

When working on Python files (*.py)

Python Development Standards

Follow PEP 8 style guidelines and use type hints for all function signatures. Implement proper docstrings for modules, classes, and functions.

Project Structure

  • Use virtual environments for dependency isolation
  • Organize code into logical packages and modules
  • Follow standard project layout conventions

When working on test files (test, spec)

Testing Best Practices

Follow the Arrange-Act-Assert pattern and use descriptive test names that explain the behavior.

Test Quality

  • Write tests that are independent and can run in any order
  • Use appropriate assertions that provide clear failure messages
  • Mock external dependencies appropriately

Available Workflows

  • apm run hello-world.prompt.md - Basic hello world demonstration
  • apm run feature-implementation.prompt.md - Implement features with validation gates

This file was generated by APM CLI. Do not edit manually. To regenerate: apm compile

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.