Agent context generator tjmaynes skills

From majiayu000/claude-skill-registry-data · View interactive version

Agent context generator tjmaynes skills is an AI agent skill from the GitHub repository majiayu000/claude-skill-registry-data. Generate project-level AGENTS.md guides that capture conventions, workflows, and required follow-up tasks. Use when a repository needs clear agent onboarding covering structure, tooling, testing, task flow, README expectations, and conventional commit summaries.

How to use this skill

Skill file

Agent Context Generator

What You'll Do


Phase 1 ยท Understand the Repository

  1. Check for existing AGENTS.md
  1. Read Core Docs
  1. Survey Project Layout
  1. Build a Git-aware Tree
  1. Identify Automation Runners
  1. Catalog Tooling & Environment
  1. Clarify Testing & Quality Gates
  1. Resolve Ambiguities Early

Outcome: A structured notes list describing layout, tooling, commands, testing, release process, documentation references, pending questions, and update expectations.


Phase 2 ยท Plan the AGENTS.md Structure

Follow this opinionated order to keep files consistent and scannable:

  1. Header โ€” Title + short purpose statement.
  2. Quick Facts โ€” Table or bullet summary (languages, package manager, key scripts, CI).
  3. Repository Tour โ€” High-level directory map with responsibilities and ownership hints.
  4. Tooling & Setup โ€” Required runtimes, package managers, environment variables, secrets.
  5. Common Tasks โ€” Lint/test/build/deploy commands. Prefer listing just recipes first, then make targets, then raw commands.
  6. Testing & Quality โ€” When and how to run tests, linting, formatting, coverage, and CI expectations.
  7. Workflow Expectations โ€” Branching model, review norms, feature flagging, deployment cadence.
  8. Documentation Duties โ€” When to update README.md, architecture diagrams, or other docs.
  9. Finish the Task โ€” Mandatory wrap-up checklist for every agent task.

For deeper directories (e.g., services/api/), include a "Scope" note at the top clarifying inheritance from parent AGENTS instructions. Always confirm with the developer before drafting new per-directory AGENTS files so you do not duplicate existing guidance or create unnecessary overhead.


Phase 3 ยท Compose AGENTS.md

Use the template below and adapt each section to the project:

# Project Agent Guide

> Scope: Root project (applies to all subdirectories unless overridden)

## Quick Facts
- **Primary language:**
- **Package manager:**
- **Entrypoints:**
- **CI/CD:**

## Repository Tour
- `path/` โ€” description & owner

## Tooling & Setup
- Install instructions (per OS)
- Required environment variables (with purpose)
- Secrets management notes

## Common Tasks
- `just <task>` โ€” what it does (preferred)
- `make <target>` โ€” what it does
- Raw command fallback when automation missing

## Testing & Quality Gates
- Unit/integration test commands
- Lint/format commands
- Coverage expectations & thresholds
- CI status command or dashboard link

## Workflow Expectations
- Branch naming and review rules
- Feature toggles or release cadence
- Any approval or ticket linkage requirements

## Documentation Duties
- Update `README.md` when features, setup steps, or developer ergonomics change materially
- List other docs to refresh (architecture, ADRs, etc.)

## Finish the Task Checklist
- [ ] Update relevant docs (& `README.md` if significant changes landed)
- [ ] Summarize changes in conventional commit format (e.g., `feat: ...`, `fix: ...`)

Subdirectory Template (Use Only with Developer Approval)

# <Directory Name> Agent Guide

> Scope: ./path/to/directory (inherits root AGENTS.md unless noted)

## Purpose
- What lives here
- Who owns it (team/contact)

## Key Files
- `file_or_folder/` โ€” why it matters

## Common Tasks
- `just <task>` / `make <target>` / command snippets scoped to this directory

## Testing & Quality
- Specific tests, linters, or data fixtures for this directory

## Hand-off Notes
- Docs or runbooks to reference
- Open questions captured during discovery

Only create these per-directory guides after confirming with the developer which areas need dedicated context and what information should be emphasized.

Writing Notes:


Phase 4 ยท Validate & Wrap Up

  1. Self-review
  1. Formatting
  1. Handoff Summary

Use this skill whenever a repo lacks AGENTS context or when existing instructions are incomplete or outdated. The goal is to leave future agents with a single, trustworthy map of the project, its tooling, and the expectations for finishing tasks responsibly.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.