name: project-context description: Automatically reads and applies project-specific conventions, architecture decisions, and development guidelines. Equivalent to Claude Code's CLAUDE.md support. Use this skill at the start of every session to understand the project's specific rules and patterns.
Project Context Skill
๐ฏ Purpose
Loads and applies project-specific context files that define conventions, architecture decisions, coding standards, and development workflows unique to this project. This is the equivalent of Claude Code's CLAUDE.md support.
๐ When to Use
- At the start of every session โ always read project context before making changes
- Before implementing any feature to understand project conventions
- Before reviewing code to understand what "good" looks like for this project
- When joining a new project for the first time
- When context about the project's unique decisions is needed
๐ Context File Discovery
Priority Order (highest first)
CLAUDE.mdโ Claude Code convention (if present)AGENTS.mdโ Agent-specific instructionsAIBO.mdโ Aibo-specific project instructionsREADME.mdโ General project documentationdocs/ARCHITECTURE.mdโ Architecture decisionsdocs/CONTRIBUTING.mdโ Contributing guidelinesdocs/DEVELOPMENT.mdโ Development setup
How to Read Project Context
# Step 1: Find context files
glob_files pattern="CLAUDE.md,AGENTS.md,AIBO.md,README.md" cwd="<project-root>"
# Step 2: Read them in priority order
read_file path="<project-root>/CLAUDE.md" # if exists
read_file path="<project-root>/AGENTS.md" # if exists
read_file path="<project-root>/README.md"
# Step 3: Find architecture docs
glob_files pattern="docs/**/*.md" cwd="<project-root>"
๐ CLAUDE.md / AIBO.md Format
Projects may include a CLAUDE.md or AIBO.md file at the root. This file provides persistent instructions that apply to every session. It typically includes:
# Project Instructions
## Architecture
Brief overview of the architecture...
## Commands
- Build: `npm run build`
- Test: `npm test`
- Lint: `npm run lint`
## Conventions
- Use kebab-case for file names
- Use PascalCase for React components
- All API responses must include `success` boolean
## Do Not
- Never commit to main directly
- Never use `any` type in TypeScript
- Never skip tests
## Key Files
- `src/core/agent/agent-factory.ts` โ agent initialization
- `src/shared/constants/system-prompts.ts` โ system prompts
๐ What to Extract from Context
When reading project context files, extract and remember:
- Build and test commands โ how to build, test, and run the project
- Architecture patterns โ how code is organized, naming conventions
- Forbidden patterns โ things you must never do in this project
- Key files โ the most important files to understand
- External dependencies โ APIs, services, and their configurations
- Testing standards โ coverage requirements, test patterns to follow
- Code style โ linting rules, formatting conventions
โ Context Application Checklist
Before starting any task in a session:
- Read
CLAUDE.mdorAIBO.mdif present - Read
README.mdfor project overview - Note the build and test commands
- Note any forbidden patterns or hard constraints
- Understand the directory structure (
glob_files pattern="src/**") - Check for
.env.exampleto understand environment configuration - Review recent git commits to understand current development context:
git log --oneline -10
๐ก Creating a Project Context File
If no context file exists, consider creating one at AIBO.md:
# AIBO Project Context
## Quick Start
- Install: `npm install`
- Build: `npm run build`
- Test: `npm test`
- Dev: `npm run dev`
## Architecture
[Brief description of the project architecture]
## Conventions
[List of conventions specific to this project]
## Important Notes
[Any critical information agents should know]