.claude/skills/agent-rules/SKILL.md
Use when creating or updating AGENTS.md files, .github/copilot-instructions.md, or other AI agent rule files, onboarding AI agents to a project, standardizing agent documentation, or when anyone mentions AGENTS.md, agent rules, project onboarding, or codebase documentation for AI agents.
npx skillsauth add dirien/yet-another-agent-harness agent-rulesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate and maintain AGENTS.md files following the agents.md convention. AGENTS.md is FOR AGENTS, not humans.
| Script | Purpose |
|--------|---------|
| scripts/generate-agents.sh PATH | Generate AGENTS.md files |
| scripts/validate-structure.sh PATH | Validate structure compliance |
| scripts/check-freshness.sh PATH | Check if files are outdated |
| scripts/verify-content.sh PATH | Verify documented files/commands match codebase |
| scripts/verify-commands.sh PATH | Verify documented commands execute |
| scripts/detect-project.sh PATH | Detect language, version, build tools |
| scripts/detect-scopes.sh PATH | Identify directories needing scoped files |
| scripts/extract-commands.sh PATH | Extract commands from build configs |
| scripts/extract-ci-rules.sh PATH | Extract CI quality gates and version matrix |
| scripts/extract-architecture-rules.sh PATH | Extract module boundaries |
| scripts/extract-adrs.sh PATH | Extract architectural decision records |
| scripts/extract-github-rulesets.sh PATH | Extract GitHub rulesets and merge rules |
See references/scripts-guide.md for full options.
detect-project.sh + detect-scopes.sh to identify stacks and subsystemsextract-commands.sh, extract-ci-rules.sh, etc. to gather factsgenerate-agents.sh with --style=thin (default) or --verboseverify-content.sh + verify-commands.sh -- MANDATORY before doneUse --update to preserve human-curated content outside <!-- GENERATED --> markers.
ai-tool-compatibility.md)| File | Contents |
|------|----------|
| verification-guide.md | Verification steps, design principles |
| scripts-guide.md | Script options, validation checklist |
| ai-tool-compatibility.md | 16-agent compatibility matrix |
| output-structure.md | Root/scoped sections |
| git-hooks-setup.md | Hook framework detection and setup |
| examples/ | Complete examples |
Root: assets/root-thin.md (default), root-verbose.md. Scoped: assets/scoped/ -- backend-go.md, backend-php.md, python-modern.md, typo3.md, symfony.md, skill-repo.md, cli.md, frontend-typescript.md, oro.md.
Go, PHP (Composer/Laravel/Symfony/TYPO3/Oro), TypeScript (React/Next/Vue/Node), Python (pip/poetry/ruff/mypy), Skill repos, Hybrid (multi-stack with auto-scoping).
tools
Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.
development
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.
development
Systematic technical debt analysis across architecture, testing, documentation, and infrastructure. Investigates the codebase, scores findings by impact and effort, and generates a prioritized TECH_DEBT.md remediation plan. Delegates to specialized skills for code quality (scout) and linting (lint-fix). Use when assessing overall project health, planning cleanup sprints, or onboarding to an unfamiliar codebase.
testing
Install and configure Tailscale across platforms. Detects OS, distro, and environment (including WSL2 and containers). Verifies existing installations, performs platform-appropriate install, and guides initial connection. Use when setting up Tailscale on a new machine, onboarding a server to a tailnet, or verifying an existing install.