AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
100/100
Scores the file, not the repository.Length
661 words
23 headings · 4 code blocksRepository
51
— · pushed 168 days agoLast changed
2 days ago
First indexed 2 days ago.1# AGENTS.md23AI agent instructions for `skene-cookbook` - 764 skill library with 36 skill chain recipes.45## Quick Context67**Repository:** Single npm package `@skene/skills-directory` v0.2.08**Purpose:** Pre-built AI skill chains for PLG, sales, customer success, security, and more9**License:** MIT10**Stack:** Node.js 18+ (npm CLI), Python 3.10+ (testing/validation), Pytest (80%+ coverage)1112## Build & Test Commands1314```bash15# Install dependencies16npm ci1718# Run tests (full suite)19pytest tests/ -v2021# Run specific test suites22pytest tests/unit -v -m "not slow" # Unit tests (fast)23pytest tests/integration -v -m "not slow" # Integration tests24pytest tests/e2e -v # End-to-end tests (slow)2526# Run linting and formatting27npm run lint # ESLint + Prettier28npm run format # Auto-fix formatting29black . # Python formatting30flake8 . # Python linting31isort . # Python import sorting3233# Verify metrics consistency (skill counts, badges)34npm run verify:metrics3536# Run pre-release checks37bash scripts/pre_release_check.sh # Comprehensive verification3839# Pre-commit hooks40pre-commit run --all-files # Run all hooks (includes detect-secrets)41```4243## Test Requirements4445- All tests must pass before merging46- Minimum 60% coverage (target: 80%+)47- No failing lint/format checks48- `npm run verify:metrics` must pass (ensures docs match registry)4950## Project Structure5152```53skene-cookbook/54├── bin/ # npm CLI entry point55│ └── skills-directory.js # Main CLI56├── skills-library/57│ ├── executable/ # 382 executable skills58│ └── reference/ # 382 reference guides59├── docs/60│ ├── SKILL_CHAINS.md # 36 ready-to-use recipes (PRIMARY USER DOC)61│ ├── PLAYBOOKS.md # Workflows with data wiring examples62│ └── directory.md # Full skill catalog63├── registry/64│ ├── blueprints/ # Workflow blueprints (JSON)65│ └── integration_schemas/ # CRM/billing schemas66├── tests/ # Pytest test suite67│ ├── unit/ # Fast unit tests68│ ├── integration/ # Integration tests69│ └── e2e/ # End-to-end user workflows70├── scripts/ # Python automation scripts71└── eval_harness/ # Evaluation harness implementation72```7374## Key Conventions7576### Skill Structure7778Every skill follows this pattern:7980```81skills-library/executable/{domain}/{skill-name}/82├── skill.json # Metadata (name, description, category, risk_level)83├── instructions.md # AI agent instructions84└── tests/ # Optional: skill-specific tests85```8687### Risk Levels8889Skills are classified by risk level:9091- `Low` - Read-only operations, no external dependencies92- `Medium` - Write operations, requires configuration93- `High` - External API calls, requires credentials94- `Critical` - System-level operations, requires manual review9596### Skill Chain Format979836 recipes in `docs/SKILL_CHAINS.md` follow this format:99100```101Recipe N: {Title}102├── Use Case: {problem it solves}103├── Skills: {2-7 skills chained together}104├── ROI: {time/cost savings}105├── Setup Instructions: {step-by-step}106└── Expected Outcomes: {success metrics}107```108109## Boundaries & Constraints110111### Do NOT Touch112113- `skills-library/` content - 764 skills, managed by scripts114- `registry/` - Auto-generated from skills library115- `METRICS.md` - Auto-generated by `npm run verify:metrics`116117### Always Update Together118119When changing skill counts or categories:1201211. Update skill metadata in `skills-library/`1222. Run `npm run verify:metrics` to sync badges and counts1233. Verify `README.md`, `METRICS.md`, and `docs/directory.md` updated124125### Security126127- Never commit `.env` files (blocked by pre-commit hooks)128- Run `pre-commit run --all-files` before every commit129- `detect-secrets` is enforced in CI/CD130- Skills with `risk_level: Critical` require manual review131132## Pull Request Checklist133134Before submitting PR:135136- [ ] All tests pass (`pytest tests/ -v`)137- [ ] Lint checks pass (`npm run lint`, `black .`, `flake8 .`)138- [ ] Metrics verified (`npm run verify:metrics`)139- [ ] Pre-commit hooks pass (`pre-commit run --all-files`)140- [ ] Coverage ≥ 60% (check `coverage.xml`)141- [ ] No secrets detected (checked by CI)142- [ ] README.md updated if adding features143- [ ] SKILL_CHAINS.md updated if adding recipes144145## CI/CD146147GitHub Actions workflow (`.github/workflows/lint-and-build.yml`):148149- Linting (Python: Black, Flake8, isort | JS: ESLint, Prettier)150- Schema validation (skills, metadata, workflows)151- Testing (unit, integration, e2e) with coverage152- Security scanning (npm audit, pip-audit, detect-secrets)153- Dependency vulnerability checks154155## Questions?156157- User documentation: `README.md`, `docs/SKILL_CHAINS.md`158- Contributing guidelines: `CONTRIBUTING.md`159- Issue templates: `.github/ISSUE_TEMPLATE/`160
Also in SkeneTechnologies/skene-cookbook
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| SkeneTechnologies/skene-cookbook.cursorrules · 51 | .cursorrules | setuptestlint-formatstyle+11 | 96/100 | 2 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| vllm-project/vllmAGENTS.md · 88k | AGENTS.md | setuptestlint-formatstyle+5 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 111 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| rails/railsAGENTS.md · 59k | AGENTS.md | teststylearchgit+4 | 100/100 | 3 days ago |
