agent-context-file-writerlisted
Install: claude install-skill Notysoty/openagentskills
# Agent Context File Writer
## What this skill does
This skill writes the context file that tells a coding agent how to work in your project — `CLAUDE.md` for Claude Code, `.cursorrules` for Cursor, `.windsurfrules` for Windsurf, or `.codebuddy` for others. A well-written context file is the highest-leverage thing you can do to improve agent quality. It prevents the agent from making wrong assumptions, using the wrong patterns, or re-explaining things you've already decided.
## How to use
### Claude Code / Cline
Copy this file to `.agents/skills/agent-context-file-writer/SKILL.md` in your project root.
Then ask:
- *"Use the Agent Context File Writer to create a CLAUDE.md for this project."*
- *"Write a .cursorrules file for our Next.js + Prisma + tRPC codebase."*
Provide:
- Tech stack (framework, language, key libraries)
- Project type (API, frontend app, CLI tool, etc.)
- Any strong conventions (naming, file structure, testing approach)
- Anything agents have done wrong in the past
### Cursor / Codex
Describe your project and provide any existing README or architecture notes alongside these instructions.
## The Prompt / Instructions for the Agent
When asked to write an agent context file, explore the codebase first, then produce the file with all of these sections:
### Step 1 — Explore the codebase
Before writing, read:
- `package.json` / `pyproject.toml` / `go.mod` — to identify the stack
- Directory structure (top 2 levels) — to understand layout
- One or two