Skip to content

Commit 4031566

Browse files
authored
Add Codex AGENTS skill support for react-devtools (#26)
1 parent 20ce273 commit 4031566

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

AGENTS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AGENTS.md
2+
3+
## Skills
4+
5+
A skill is a set of local instructions stored in a `SKILL.md` file.
6+
7+
### Available skills
8+
9+
- react-devtools: React DevTools CLI for AI agents. Use when debugging a React or React Native app at runtime, inspecting component props/state/hooks, diagnosing re-renders, or profiling performance. (file: `packages/agent-react-devtools/skills/react-devtools/SKILL.md`)
10+
11+
### How to use skills
12+
13+
- Trigger rule: Use `react-devtools` when the task is React runtime debugging or performance analysis.
14+
- Invocation: Read `packages/agent-react-devtools/skills/react-devtools/SKILL.md` and follow its core workflow and command guidance.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,15 @@ You can also install via the Claude Code plugin marketplace:
226226
/plugin install agent-react-devtools@piotrski
227227
```
228228

229+
### Codex
230+
231+
Codex discovers project skills from `AGENTS.md`. This repo includes one at the root that registers:
232+
233+
- `packages/agent-react-devtools/skills/react-devtools/SKILL.md`
234+
229235
### Manual setup
230236

231-
Alternatively, add something like this to your project's `CLAUDE.md` (or equivalent agent instructions):
237+
If your assistant does not auto-load skills, add something like this to your project's `AGENTS.md`, `CLAUDE.md`, or equivalent agent instructions:
232238

233239
```markdown
234240
## React Debugging

0 commit comments

Comments
 (0)