From ring-dev-team
Generates or audits llms.txt per spec, creates CLAUDE.md/AGENTS.md by analyzing README, build files, docs, and API surface.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ring-dev-team:generating-llms-txtThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Creating a new llms.txt for a repository
Complementary: ring:running-dev-cycle, ring:implementing-tasks
Generates llms.txt, CLAUDE.md, and AGENTS.md for repositories.
1. Read README.md — project name, description, purpose
2. Read CONTRIBUTING.md — build, test, lint instructions (if exists)
3. Read Makefile / package.json / go.mod — build system, language, dependencies
4. Scan /docs/ — available documentation
5. Scan /api/ or OpenAPI specs — API surface
6. Read existing llms.txt / CLAUDE.md / AGENTS.md (if mode=audit)
7. Identify: language, architecture, test framework
Follow llmstxt.org specification exactly:
# {Project Name}
> {One-line description: language, what it does, license.}
{Optional: architecture, key concepts, domain terminology needed to work with this project.}
## Docs
- [{Doc title}]({url}): {Brief description}
## API Reference
- [{API name}]({url}): {What this covers}
## Code
- [{Key module}]({path}): {What this module does}
## Optional
- [{Secondary resource}]({url}): {Description}
Rules:
[title](url): description format/llms.txtMUST include: name, architecture overview, key domain concepts, links to README/CONTRIBUTING/API docs/key modules.
MUST NOT include: internal-only docs, CI/CD details, issue tracker, full dependency lists, changelog.
Read by Claude Code at session start. Must be actionable with exact commands:
# {Project Name}
## Quick Start
{How to build and run locally — exact copy-pasteable commands}
## Testing
{How to run tests — exact commands including single-test}
## Linting & Formatting
{Lint/format commands, CI expectations}
## Architecture
{Brief: layers, key directories, patterns}
e.g., "Business logic in /internal/domain/, HTTP handlers in /internal/adapters/http/"
## Key Conventions
{Naming conventions, error handling, logging patterns with examples}
e.g., "Functions use camelCase: processTransaction()"
## Common Pitfalls
{What trips up new contributors or AI agents}
Rules:
Same structure as CLAUDE.md but vendor-neutral language.
If CLAUDE.md exists: AGENTS.md can reference it:
# {Project Name} — AI Agent Context
See [CLAUDE.md](./CLAUDE.md) for complete setup and conventions.
## Additional Notes
{Any agent-specific guidance not in CLAUDE.md}
For existing files, check:
| Check | Pass Condition |
|---|---|
| llms.txt has H1 + blockquote | Required fields present |
| All links resolve | No 404s |
| Spec compliance | No H3+, no non-list content in sections |
| CLAUDE.md commands valid | All commands runnable, no stale references |
| Under token budget | llms.txt < 2K tokens, CLAUDE.md < 3K tokens |
## LLM Documentation Report
Mode: create | audit | full
Repository: {repo_path}
### Files Generated/Updated
| File | Action | Tokens |
|------|--------|--------|
| llms.txt | Created/Updated/OK | ~{N} |
| CLAUDE.md | Created/Updated/OK | ~{N} |
| AGENTS.md | Created/Updated/OK | ~{N} |
### Audit Results (audit mode)
| Check | Status | Details |
|-------|--------|---------|
npx claudepluginhub p/lerianstudio-ring-dev-team-dev-teamGenerates llms.txt file from repo structure per llmstxt.org spec, with project summary and categorized file links for LLM repo navigation. Invoke manually via /create-llms or auto when relevant.
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files for repos using empirical best practices. Triggers on /init, create/update requests, or missing context during brainstorming.
Generates llms.txt and llms-full.txt files for LLM-friendly project documentation following the llms.txt specification. Use to make project wikis accessible to language models.