Create and maintain AGENTS.md documentation for simple projects and complex monorepos with deterministic discovery, scoped instruction files, and low-token navigation patterns; use when generating AGENTS.md, updating agent docs, or standardizing AI-facing project guidance.
Does it follow best practices?
Evaluation — 92%
↑ 1.05xAgent success when using this tile
Validation for skill structure
Use this template when documenting testing setup and patterns for packages.
MANDATORY: Before using this template, analyze the current project to identify:
grep -r "jest\|vitest\|mocha\|jasmine\|pytest\|go.*test\|cargo.*test" package.json pyproject.toml Cargo.toml go.mod | head -3find . -name "*.test.*" -o -name "*.spec.*" | head -5grep -r "playwright\|cypress\|puppeteer\|selenium" package.json | head -3find . -name "*test*" -type d | grep -v node_modules | head -5ls -la jest.config.* vitest.config.* playwright.config.* cypress.config.* pytest.ini 2>/dev/null## Testing
- Framework: [DETECTED_TEST_FRAMEWORK] ([Jest/Vitest/pytest/etc])
- Unit: `[DETECTED_TEST_PATTERN]` ([*.test.ts/test_*.py/etc])
- Integration: `[DETECTED_INTEGRATION_PATH]/**` OR "No integration tests found"
- E2E: `[DETECTED_E2E_PATH]/**` ([DETECTED_E2E_FRAMEWORK]) OR "No E2E tests found"
- Run single: `[DETECTED_SINGLE_TEST_COMMAND] [file-path]`
- Mocks: `[DETECTED_MOCK_PATH]/**` OR "Mock location not standardized"Jest: Look for jest.config.js, tests with .test.js/.spec.js
Vitest: Look for vitest.config.ts, similar patterns to Jest
Mocha: Look for mocha.opts, test directory structure
pytest: Look for pytest.ini, test_*.py or *_test.py files
Go: Look for *_test.go files, go test commands
Rust: Look for #[test] annotations in src/ or tests/
Find existing patterns:
Find actual commands used:
package.json scriptsAdapt based on what's detected in the project
Before documenting, examine existing tests for: