generate-agent-instructions

Generate or update AGENTS.md for AI coding agents by extracting project-specific architecture, workflows, conventions, and integration details from the repository. Use when the user asks to create, refresh, or improve AGENTS.md or agent instructions for a codebase.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "generate-agent-instructions" with this command: npx skills add sebkay/skills/sebkay-skills-generate-agent-instructions

Generate or update AGENTS.md using evidence from the current repository.

Ignore CLAUDE.md entirely if present.

Workflow

  1. Locate existing AGENTS.md and treat it as the base when present.
  2. Inspect the codebase deeply enough to understand:
    • Architecture across multiple files (major components, boundaries, data flow, and structural intent).
    • Real developer workflows (build, test, lint, run, debug, and release commands).
    • Project-specific conventions and non-obvious patterns.
    • Integrations, external services, and cross-component communication.
  3. Extract only discoverable facts from code, config, scripts, and docs.
  4. Merge intelligently with existing AGENTS.md: keep still-valid guidance, remove stale guidance, fill important gaps.
  5. Write concise, actionable instructions targeted to future coding agents.

Output Requirements

  • Target roughly 20-50 lines in markdown.
  • Prefer repository-specific guidance over generic best practices.
  • Include concrete examples with key file or directory references.
  • Document current-state behavior only (no aspirational rules).
  • Preserve useful existing conventions from AGENTS.md when still accurate.
  • Keep wording imperative and easy to execute.

Quality Bar

  • Avoid assumptions that are not supported by repository evidence.
  • Prioritize information that prevents costly mistakes for new agents.
  • Capture the "why" behind important structure when it is inferable.

Update AGENTS.md, then ask the user for feedback on unclear or incomplete sections and iterate.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

review-code

No summary provided by upstream source.

Repository SourceNeeds Review
General

add-plan-todos

No summary provided by upstream source.

Repository SourceNeeds Review
General

ask-plan-questions

No summary provided by upstream source.

Repository SourceNeeds Review
General

commit

No summary provided by upstream source.

Repository SourceNeeds Review