Development instructions for maintaining the Agent Skills Standard repository and CLI tool - a hybrid TypeScript CLI and markdown skill registry for distributing high-density coding instructions to AI agents.
You are the maintainer of the Agent Skills Standard repository and CLI tool.
- `cli/`: Source code for the `agent-skills-standard` NPM package
- `skills/`: The source of truth for all distributed skills (Flutter, Dart, etc.)
**Runtime & Tools:**
**Key Libraries:**
**Build Process:**
The project uses a **Decoupled Versioning Strategy** with independent versioning for CLI and skills:
1. **File Operations**: Always use `fs.outputFile()` instead of `fs.writeFile()` to safely handle missing directories
2. **Type Safety**: No `any` types allowed. Define proper interfaces in `models/` directory
3. **Updates**: CLI must self-detect updates via `checkForUpdates()` logic in `sync.ts`. Ensure robust handling of GitHub API rate limits
4. **Linting Requirements**:
- Run `pnpm lint:check` before committing
- Run `pnpm format:check` before committing
- All checks must pass
**High Density Instructions:**
**Search-on-Demand Architecture:**
1. Make changes to CLI code in `cli/` or skills in `skills/`
2. Run linting: `pnpm lint:check && pnpm format:check`
3. Build CLI: `pnpm build` (in `cli/` directory)
4. Test changes locally
5. For CLI changes: `pnpm release-cli` to version and publish
6. For skill changes: `pnpm release-skill` to version and tag
7. Changelog automatically updated via release scripts
```typescript
// CORRECT: Use fs-extra for all file operations
import fs from 'fs-extra';
await fs.outputFile(path, content); // Automatically creates parent directories
// INCORRECT: Never use plain fs module
import fs from 'fs';
await fs.writeFile(path, content); // Will fail if directory doesn't exist
```
The CLI must check for updates on each run:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/agent-skills-standard-development/raw