From buyoung-skills
Analyzes repository structure to generate or update AGENTS.md contributor guides for AI agents. Supports monorepos, LOC-based limits, preserves custom sections on update. Use for new repos, AI onboarding, or AGENTS.md mentions.
npx claudepluginhub buyoung/skills --plugin backend-skillsThis skill uses the workspace's default tool permissions.
This skill enables the agent to generate `AGENTS.md` files that serve as contributor guides for AI agents working on a codebase.
LICENSEreferences/agents_md_template.mdreferences/loc_measurement.mdreferences/monorepo_detection.mdreferences/monorepo_strategy.mdreferences/read_only_commands.mdreferences/update_strategy.mdreferences/working_agreements.mdupdates/2026-02-25-json-template-formatting-review/agents-v1-test.patchupdates/2026-02-25-json-template-formatting-review/agents-v2-test.patchupdates/2026-02-25-json-template-formatting-review/no-agents-test.patchupdates/2026-02-25-json-template-formatting-review/review.mdupdates/2026-02-25-json-template-formatting-review/review_en.mdupdates/2026-03-11-json-query-explanation-review/review.mdupdates/2026-03-11-json-query-explanation-review/review_en.mdupdates/2026-03-21-claude-skill-2_0-apply/benchmark.mdupdates/README.mdupdates/README_en.mdCreates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
This skill enables the agent to generate AGENTS.md files that serve as contributor guides for AI agents working on a codebase.
AGENTS.md documentAGENTS.md, preserving user-defined custom sectionsFor single repositories or individual packages in a monorepo:
For the root of a monorepo structure:
AGENTS.md from scratch (default when no AGENTS.md exists)AGENTS.md while preserving custom sections. See ./references/update_strategy.md for detailed workflow and section matching rules.The agent automatically selects the appropriate mode based on whether an AGENTS.md file already exists at the target location.
Supports three modes: All (root + all packages, default), Root Only, and Single Package. See ./references/monorepo_strategy.md for detailed strategy and mode selection criteria.
This skill uses the following read-only tools for repository analysis. See ./references/read_only_commands.md for detailed usage patterns.
tokei: LOC measurement (required)rg (ripgrep): Content search (preferred)grep / Select-String: Content search (fallback per OS)sed -n / Get-Content \| Select-Object: Paginated file reading per OStree: Directory structure visualizationfind: File and directory discovery (Linux / macOS)ls, pwd: Basic directory navigationpnpm-lock.yaml, package-lock.json, yarn.lock, etc.) are outside analysis scope