contentstack/cli/dev-workflow
Claude Code and agent skill by contentstack/cli
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Branches, CI, pnpm workspace commands, PR expectations, and TDD workflow for the Contentstack CLI monorepo.
Install
npx vskill@latest install contentstack/cli/dev-workflowSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as contentstack/cli/dev-workflow.
Development workflow – Contentstack CLI
When to use
- Before you run builds or tests across the workspace
- When wiring CI or interpreting
.github/workflows/ - When following TDD expectations for a package under
packages/
Monorepo layout
Six packages under packages/:
| Package | Role | |
|---|---|---|
contentstack | Main CLI; entry bin/run.js; aggregates plugins | |
contentstack-auth | Authentication plugin (cm:auth:*) | |
contentstack-config | Configuration plugin (cm:config:*, regions, etc.) | |
contentstack-command | Shared base Command and helpers for plugins | |
contentstack-utilities | Shared helpers | |
contentstack-dev-dependencies | Centralized dev dependencies |
Workspaces: packages/* (see root package.json).
Commands (root)
| Command | Purpose | |
|---|---|---|
pnpm install | Install all workspace dependencies | |
pnpm build | pnpm -r --filter './packages/*' run build | |
pnpm test | pnpm -r --filter './packages/*' run test | |
pnpm lint | pnpm -r --filter './packages/*' run lint | |
pnpm prepack | pnpm -r --filter './packages/*' run prepack |
Run a command in one package: pnpm --filter @contentstack/cli-auth test (adjust package name).
TDD expectations
- RED — one failing test under
test/unit/**/*.test.ts(or package’s test glob) - GREEN — minimal
src/change to pass - REFACTOR — keep tests green
Do not commit test.only / test.skip. Target 80% coverage where nyc is configured. Mock external APIs; no real API calls in unit tests.
CI and hooks
- Workflows: `.github/workflows/` — e.g.
unit-test.yml,lint.yml,release.yml,sca-scan.yml,policy-scan.yml,codeql-analysis.yml - Husky: `.husky/` for pre-commit hooks
PR expectations
- Tests and build pass for affected packages
- No stray
.only/.skipin tests - Follow patterns in testing and code-review
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dev-workflow/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/contentstack/cli/dev-workflow)