AgentSkillsCN

dev-toolkit

精通 Bun CLI 开发、运行时工作流以及开发者体验的最佳实践。

SKILL.md
--- frontmatter
name: dev-toolkit
description: Development skills for Bun CLI, runtime workflows, and developer experience patterns
triggers:
  - bun cli
  - developer experience
  - development workflows

Development Toolkit

Comprehensive skills for building CLI tools, Bun runtime workflows, and developer experience patterns.

Core Skills

1. Bun CLI Development

  • Argument parsing patterns
  • Dual output formats (markdown/JSON)
  • Error handling and exit codes
  • Subcommand architecture
  • Testing strategies

2. Bun Runtime Workflows

  • bunx for one-off commands
  • Workspace monorepo patterns
  • Lockfile management
  • Fast startup optimization
  • Integration patterns

3. Developer Experience (DX) Patterns

  • DX Framework: feedback loops, cognitive load, flow state
  • ADHD-friendly patterns
  • Measurable skill matrices
  • Productivity strategies

When to Use This Skill

Use this skill when:

  • Building a new CLI tool with Bun
  • Optimizing Bun runtime workflows
  • Improving developer experience in your project
  • Reviewing CLI implementations against best practices
  • Setting up monorepo development environments

References

See the references/ directory for detailed documentation:

  • BUN_CLI_STANDARD.md — Comprehensive CLI development standard
  • CLI_REVIEW.md — Reference implementation analysis

Scripts Available

Utility scripts in scripts/ directory:

  • scaffold-cli.ts — Generate new CLI scaffolds
  • review-cli.ts — Review CLI against standards