claude-code
AGENTS.md1 starsChanged 12 months agoMITView on GitHub
Instructions for AI assistants working in this project with Cursor IDE. This is a Claude Code plugins workspace for developing and managing AI assistant extensions, skills, and hooks. When creating or modifying plugins: Use conventional commits: Types: feat, fix, docs, style, refactor, test, chore These instructions are for AI assistants working in this project. Always open @/openspec/AGENTS.md when the request: Use @/openspec/AGENTS.md to learn: Keep this managed block so 'openspec update' can refresh the instructions. This workspace has access to:
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 repository3 other files it gives its agents.
- openspec/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
When creating or modifying plugins:
- Very specific: line 49
Follow the structure in plugins/starter-plugin/ as a template
- Very specific: line 50
Create agent definitions in agents/ subdirectory
- Very specific: line 53
Document skills in skills/[skill-name]/SKILL.md
- Distinctive: line 57
Use meaningful variable and function names
- Distinctive: line 58
Document functions with JSDoc comments
- Very specific: line 59
Prefer explicit types over any
- Distinctive: line 60
Keep functions small and focused
- Distinctive: line 61
Write tests for new functionality
- Very specific: line 83
Always open @/openspec/AGENTS.md when the request:
- Very specific: line 89
Use @/openspec/AGENTS.md to learn:
- Distinctive: line 95
Keep this managed block so 'openspec update' can refresh the instructions.
≈ “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.
Files
AI Agent Instructions for Cursor
Instructions for AI assistants working in this project with Cursor IDE.
Project Overview
This is a Claude Code plugins workspace for developing and managing AI assistant extensions, skills, and hooks.
Quick Start for Cursor
- Read
openspec/project.mdfor project conventions before making changes - Check
plugins/directory for existing plugin structure and patterns - Use conventional commits for all git operations
- Follow TypeScript for type safety when applicable
Technology Stack
- Documentation: Markdown
- Type Safety: TypeScript
- UI Components: React (when applicable)
- Styling: CSS Modules or SASS/SCSS (no Tailwind)
- Testing: Playwright for E2E
- Code Quality: ESLint + Prettier
- Documentation: JSDoc for functions, classes, and components
Directory Structure
claude-code/
├── AGENTS.md # This file - AI instructions
├── openspec/ # Spec-driven development
│ ├── AGENTS.md # Detailed OpenSpec instructions
│ ├── project.md # Project conventions
│ ├── specs/ # Current specifications
│ └── changes/ # Proposed changes
├── plugins/ # Plugin implementations
│ └── starter-plugin/ # Example plugin structure
│ ├── agents/ # Agent definitions
│ ├── commands/ # Slash commands
│ ├── hooks/ # Hook configurations
│ └── skills/ # Skill definitions
└── plans/ # Planning documentsWorking with Plugins
When creating or modifying plugins:
- Follow the structure in
plugins/starter-plugin/as a template - Create agent definitions in
agents/subdirectory - Define commands in
commands/as Markdown files - Configure hooks in
hooks/hooks.json - Document skills in
skills/[skill-name]/SKILL.md
Code Style Guidelines
- Use meaningful variable and function names
- Document functions with JSDoc comments
- Prefer explicit types over
any - Keep functions small and focused
- Write tests for new functionality
Commit Message Format
Use conventional commits:
type(scope): description
[optional body]
[optional footer]Types: feat, fix, docs, style, refactor, test, chore
<!-- OPENSPEC:START -->OpenSpec Instructions
These instructions are for AI assistants working in this project.
Always open @/openspec/AGENTS.md when the request:
- Mentions planning or proposals (words like proposal, spec, change, plan)
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
- Sounds ambiguous and you need the authoritative spec before coding
Use @/openspec/AGENTS.md to learn:
- How to create and apply change proposals
- Spec format and conventions
- Project structure and guidelines
Keep this managed block so 'openspec update' can refresh the instructions.
<!-- OPENSPEC:END -->MCP Tools Available
This workspace has access to:
- Playwright: Browser automation and testing
- Context7: Up-to-date library documentation
- Supabase: Database operations
- Browser: Frontend testing and interaction
Best Practices
Before Making Changes
- Understand the existing code structure
- Check for related specs in
openspec/specs/ - Review active changes in
openspec/changes/ - Follow established patterns in the codebase
When Writing Code
- Use TypeScript for type safety
- Add JSDoc documentation
- Follow existing code style
- Keep changes focused and minimal
After Making Changes
- Run linting (
eslint) - Format code (
prettier) - Write tests for new functionality
- Use conventional commit messages
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
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.

