Beginner 12 min

Project instructions and skills

Give a coding tool stable conventions and create reusable instructions for a repeated task.

Capture the project facts

Document the package manager, ordinary validation command, supported runtime, and group of files the agent may edit. Keep rules specific enough for a reviewer to verify. Add these facts alongside the repository so a new tool session can discover them.

How it works

Use project instructions for rules that apply repeatedly, such as where curriculum data belongs and how to review it. Use a skill for a repeatable workflow with a clear trigger, such as validating all links after an editorial update. Keep one-time details in the active task.

Package a repeatable procedure

Use a skill for a job that comes up repeatedly, such as reviewing a lesson’s examples and validating links. Give the skill a narrow purpose, expected inputs, and a checkable completion condition. Read any third-party skill and its scripts before allowing it to run.

Choose the guide for your tool

Codex reads project instructions from AGENTS.md. Claude Code uses CLAUDE.md for project guidance. Google Antigravity offers workspace rules and skills. Discovery paths and approval controls vary with the tool and version, so use that tool’s documentation to verify the scope before enabling a skill.

Check your understanding

Decide whether each instruction fits a project rule or a skill.

See the example and explanation
Example 1
Given Always run the repository’s existing pnpm checks
Answer Project instruction
Example 2
Given Review a lesson’s examples, hints and links before publishing it
Answer Skill

A command convention is a project rule. A multi-step editorial review is a good skill if you do it repeatedly.

Open practice problem
Next lessonUse Codex on a small repository