Index of every page on this site: llms.txt
All skills
hardikpthv avatar

/agent-context-setup-basic

@53afcbc
Run it yourself

Use when starting or onboarding a project/repository and you want AI coding agents to understand it — generating the agent context/memory files (a canonical AGENTS.md plus CLAUDE.md, GEMINI.md, and Cursor bridges) that give any agent the project's structure, commands, and conventions every session, and keeping them updated as the project grows. Use whenever someone says "set up CLAUDE.md," "create AGENTS.md," "onboard this project for agents," "init the project context / instructions," "make this repo agent-ready," or starts a new repo.

Use this Skill: https://skilld.dev/gh/hardikpthv/agent-skills/agent-context-setup-basic

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesagents-md-template.md

≈390 tokens on demand. Your agent reads this file only when SKILL.md points to it.

AGENTS.md template

Fill from the real project — read package.json/Makefile/CI/config for the actual commands; don't invent. Keep it concise (< ~200 lines); it loads every turn. Omit sections that don't apply.

# <Project name>

<One or two sentences: what this project is and its stack.>

## Commands
- Install: `<...>`
- Dev / run: `<...>`
- Build: `<...>`
- Test: `<...>`   (single test: `<...>`)
- Lint / format: `<...>`
- Typecheck: `<...>`

## Project layout
- `src/…` — <what lives here>
- `<dir>/…` — <...>
- Entry point: `<...>`

## Conventions
- Language/style: <e.g. TypeScript, 2-space indent, ESM>
- Naming: <...>
- Patterns to follow / avoid: <...>

## Architecture
- <The few decisions worth knowing — data flow, key modules, external services.>

## Do / Don't
- Run `<test command>` before committing.
- <Never edit generated files in `…`.>
- <Use `<x>` not `<y>`.>

## Keeping this file current
When you learn something durable about this project (a command changes, a
convention is corrected twice, a new module appears), update this file.

Writing tips

  • Concrete + verifiable beats vague: "API handlers live in src/api/handlers/" not "code is organized well."
  • Prefer the exact commands from the repo over generic ones.
  • One idea per bullet; markdown headers so agents can scan.
  • No secrets, tokens, or full file contents. No contradictory rules.
  • If some guidance only matters for certain paths/tasks, move it to a path-scoped rule or a skill instead of bloating this file.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill automates the creation of project-specific context files for AI agents. It is designed to help agents understand project structure and commands. However, it introduces a low risk of indirect prompt injection by instructing the agent to generate instructions based on untrusted repository content and to dynamically update those instructions based on session experiences.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 53afcbc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago

README badge

README badge for hardikpthv/agent-skills/agent-context-setup-basic