komerce-skill
v1.2.0
Published
AI Skills Registry CLI tool for managing AI assistant skills across multiple IDEs
Maintainers
Readme
Komerce Skill CLI
AI Skills Registry — manage AI assistant skills across multiple IDEs.
Installation
No installation required! Use npx to run commands directly:
npx komerce-skill <command>Quick Start
For Users (Installing Skills)
Install a skill
npx komerce-skill install fe/reactThe CLI will automatically:
- Download the skill from npm registry
- Detect which IDEs are active in your project (Kiro, Cursor, Copilot, etc.)
- Generate configuration files in the correct locations for each IDE
Install multiple skills
npx komerce-skill install fe/react be/express testing/jestForce installation for a specific IDE
npx komerce-skill install fe/react --ide kiroSearch for available skills
npx komerce-skill search vueList installed skills
npx komerce-skill listList skills by category
npx komerce-skill list --category feUpdate a skill
npx komerce-skill update fe/reactUpdate all skills
npx komerce-skill update --allRemove a skill
npx komerce-skill remove fe/reactGet detailed info about a skill
npx komerce-skill info fe/reactReport a problematic skill
npx komerce-skill report fe/reactFor Skill Authors (Publishing Skills)
Login to npm
npx komerce-skill loginCreate a new skill scaffold
npx komerce-skill initThis will prompt you for:
- Skill name (namespace format:
fe/react) - Description
- Author
- License (default: MIT)
- Target IDEs (comma-separated:
kiro,cursor,copilot)
Publish a skill
npx komerce-skill publish ./my-skillOr from within the skill directory:
cd my-skill
npx komerce-skill publishSkill Structure
Each skill package contains:
my-skill/
├── skill.json # Metadata and configuration
├── instructions.md # AI instructions content
└── package.json # Auto-generated during publishskill.json Format
{
"name": "fe/react",
"version": "1.0.0",
"description": "React development instructions for AI assistant",
"author": "komerce-team",
"license": "MIT",
"category": "fe",
"targets": ["kiro", "cursor", "copilot", "jetbrains", "antigravity"],
"entrypoint": "instructions.md"
}Required fields:
name— Namespace format:<category>/<skill-name>(e.g.,fe/react)version— Semantic version (e.g.,1.0.0)description— Short description of the skillauthor— Author name or emaillicense— SPDX license identifier (e.g.,MIT)category— Category prefix matching the namespace (e.g.,fe,be,testing)targets— Array of supported IDEs:kiro,cursor,copilot,jetbrains,antigravity, orallentrypoint— Path to the main instruction file (e.g.,instructions.md)
Optional fields:
dependencies— Array of other skill namespaces this skill depends onkeywords— Array of keywords for search discoverabilityhomepage— URL to documentationrepository— URL to source repository
Supported IDEs
The CLI automatically detects and configures skills for:
| IDE | Config Directory | Output Location |
|-----|------------------|-----------------|
| Kiro | .kiro/ | .kiro/steering/<skill-name>.md |
| Cursor | .cursor/ | .cursor/rules/<skill-name>.mdc |
| GitHub Copilot | .github/ | .github/instructions/<skill-name>.instructions.md |
| JetBrains AI | .idea/ | .idea/ai-rules/<skill-name>.md |
| Antigravity | .antigravity/ | .antigravity/skills/<skill-name>.md |
How It Works
For Users
- Run
npx komerce-skill install fe/react - CLI downloads
@komerce-skill/fe-reactfrom npm - CLI detects which IDE config directories exist in your project
- CLI copies the instruction file to the appropriate location for each detected IDE
- Your AI assistant now has access to the skill instructions
For Skill Authors
- Create skill content in a directory with
skill.jsonandinstructions.md - Run
npx komerce-skill publish ./my-skill - CLI validates the manifest and files
- CLI generates
package.jsonfromskill.json - CLI publishes to npm under
@komerce-skill/<category>-<skill-name> - Users can now install your skill
Examples
Installing Skills for a React + Express Project
# Install frontend and backend skills
npx komerce-skill install fe/react be/express
# Install testing skill
npx komerce-skill install testing/jest
# Check what's installed
npx komerce-skill listCreating and Publishing a New Skill
# Create scaffold
npx komerce-skill init
# Follow prompts:
# - Skill name: fe/vue-3
# - Description: Vue 3 Composition API instructions
# - Author: your-name
# - License: MIT
# - Targets: kiro,cursor,copilot
# Edit the generated instructions.md file
cd fe-vue-3
# ... edit instructions.md ...
# Login to npm (one-time)
npx komerce-skill login
# Publish
npx komerce-skill publishRequirements
- Node.js >= 18.0.0
- npm account (for publishing skills)
Publishing to npm
This CLI tool itself can be published to npm:
# Build
npm run build
# Login
npm login
# Publish
npm publish --access publicAfter publishing, users can run:
npx komerce-skill install fe/reactDevelopment
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/cli.js --help
# Run tests
npm test
# Type check
npm run lintLicense
MIT
Contributing
Contributions are welcome! Please open an issue or pull request.
Support
For issues or questions:
- GitHub Issues: komerce/komerce-skill
- npm: @komerce-skill
