contentstack/cli-plugins/testing
Claude Code and agent skill by contentstack/cli-plugins
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
How to run tests and use env for contentstack-cli-tsgen (Jest, ESLint posttest, integration).
Install
npx vskill@latest install contentstack/cli-plugins/testingSKILL.md
The same SKILL.md was published earlier as contentstack/cli-plugins/testing.
Testing skill (contentstack-cli-tsgen)
This package is the only cli-plugins package that uses Jest (other plugins use Mocha).
Commands
| Command | What it does | |
|---|---|---|
pnpm test | Jest with --testPathPattern=tests; then `posttest` runs ESLint | |
pnpm run test:integration | Jest only for tests/integration | |
pnpm run build | Build lib/ (required before local csdx plugins:link) |
From repo root, prefix with pnpm --filter contentstack-cli-tsgen.
Config
- `jest.config.js`: ts-jest, `testEnvironment: node`.
Integration tests
- [tests/integration/tsgen.integration.test.ts](../../tests/integration/tsgen.integration.test.ts) spawns `csdx tsgen` with `TOKEN_ALIAS`.
- Loads `.env` from package root via `dotenv` (
pathrelative to test file). `TOKEN_ALIAS` must be defined or the suite throws at load time.
CI
- `.github/workflows/tsgen-integration-test.yml`:
pnpm install,pnpm --filter contentstack-cli-tsgen run build, global `@contentstack/cli@beta`, `csdx config:set:region`, `csdx auth:tokens:add` (delivery), `csdx plugins:link`, `pnpm --filter contentstack-cli-tsgen run test:integration` with `TOKEN_ALIAS` secret. - Lint on PR: `.github/workflows/unit-test.yml` →
pnpm run lintin this package.
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 repositoryCheckingpackages/contentstack-cli-tsgen/skills/testing/SKILL.md
Popularity
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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-plugins/testing)