agentleFS
MicrosoftKnown publishermicrosoft/Ontology-Playground/AGENTS.md

Ontology-Playground

AGENTS.md2.8k starsChanged 6 months agoMITView on GitHub

This document contains guidelines for AI coding assistants working on this project.

Trending

Quiet since August.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 7 mentionsAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/Ontology-Playground repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/Ontology-Playground

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

See all 9

Talked about on Bluesky and GitHub (9 times).

On Bluesky · 6

1 more on Bluesky

On GitHub · 3

  • 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,773 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.

The file

Show its rules and text

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

16 rules. About 0 are common, 6 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always create a feature branch: before making changes to existing functionality

    line 11
  2. Very specific:

    Verify build passes: before committing (npm run build)

    line 23
  3. Very specific:

    Test changes locally (npm run dev)

    line 26
  4. Distinctive:

    Ensure no TypeScript errors

    line 27
  5. Very specific:

    Use strict TypeScript - no any types unless absolutely necessary

    line 57
  6. Distinctive:

    Use functional components with hooks

    line 62
  7. Distinctive:

    Keep components focused - split large components

    line 63
  8. Very specific:

    Use the existing component patterns in src/components/

    line 64
  9. Very specific:

    Use Zustand store (src/store/appStore.ts) for global state

    line 67
  10. Very specific:

    Keep component-local state with useState when appropriate

    line 68
  11. Very specific:

    Add format type to the state (exportFormat union type)

    line 86
  12. Very specific:

    Create export function (exportAs<Format>)

    line 87
  13. Very specific:

    Add format handler in handleExport()

    line 88
  14. Distinctive:

    Add UI button in the format selector

    line 89
  15. Very specific:

    Create component file in src/components/

    line 92
  16. Distinctive:

    Follow existing component patterns for modals/panels

    line 94

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

Coding Guidelines for AI Agents

This document contains guidelines for AI coding assistants working on this project.

Git Workflow

Branching Strategy

  • Main branch: main - production-ready code only
  • Feature branches: feature/<feature-name> - for new features
  • Bugfix branches: fix/<issue-description> - for bug fixes
  • Always create a feature branch before making changes to existing functionality

Commit Practices

  • Commit incrementally - small, focused commits that do one thing
  • Use conventional commits format:
    • feat: - new features
    • fix: - bug fixes
    • docs: - documentation changes
    • refactor: - code refactoring
    • test: - adding or updating tests
    • chore: - maintenance tasks
  • Write descriptive commit messages with a summary line and bullet points for details
  • Verify build passes before committing (npm run build)

Before Merging

  • Test changes locally (npm run dev)
  • Ensure no TypeScript errors
  • Review the diff for unintended changes
  • Update documentation — if the change adds, removes, or modifies user-visible features, update README.md (feature descriptions, route table, env vars) and any relevant guides in docs/ before merging. Also update TODO.md to mark completed items.

Project Structure

Ontology-Playground/
├── src/
│   ├── components/    # React components (graph, designer, modals, tour, learn)
│   ├── data/          # Data models, templates, and sample data
│   ├── lib/           # Router, RDF parser/serializer, catalogue helpers
│   ├── store/         # Zustand state management (app + designer)
│   ├── styles/        # CSS styles
│   └── types/         # TypeScript type definitions
├── catalogue/         # Official + community ontology RDF files
├── content/learn/     # Markdown articles for the learning section
├── scripts/           # Build-time compilers (catalogue, learning content)
├── docs/              # Guides and documentation
├── api/               # Azure Functions backend (optional)
├── build/             # Production build output
└── public/            # Static assets (compiled catalogue.json, learn.json)

Code Style

TypeScript

  • Use strict TypeScript - no any types unless absolutely necessary
  • Define interfaces for all data structures
  • Export types from dedicated type files or alongside their implementations

React Components

  • Use functional components with hooks
  • Keep components focused - split large components
  • Use the existing component patterns in src/components/

State Management

  • Use Zustand store (src/store/appStore.ts) for global state
  • Keep component-local state with useState when appropriate

Testing Changes

# Development server
npm run dev

# Production build
npm run build

# Type checking
npx tsc --noEmit

Common Tasks

Adding a New Export Format

  1. Add format type to the state (exportFormat union type)
  2. Create export function (exportAs<Format>)
  3. Add format handler in handleExport()
  4. Add UI button in the format selector

Adding a New Component

  1. Create component file in src/components/
  2. Export from src/components/index.ts
  3. Follow existing component patterns for modals/panels

Dependencies

  • React 19 - UI framework
  • TypeScript 5 - Type safety
  • Vite - Build tool
  • Cytoscape.js - Graph visualization
  • Zustand - State management
  • Framer Motion - Animations
  • Lucide Icons - Icon library
  • marked - Markdown compilation (build-time)

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.