odradekai/bundles-forge/testing
Claude Code and agent skill by odradekai/bundles-forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when testing a bundle-plugin locally before release — generating dev-marketplace environments, verifying component discovery, running hook smoke tests, and validating cross-platform readiness
Install
npx vskill@latest install odradekai/bundles-forge/testingSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as odradekai/bundles-forge/testing.
Testing Bundle-Plugins
Overview
Dynamic verification of a bundle-plugin project: install it locally, confirm components are discoverable, validate hooks fire correctly, and run cross-platform smoke tests. Complements bundles-forge:auditing (static analysis) with runtime validation.
Core principle: Audit tells you if the structure is correct; testing tells you if it actually works.
Skill type: Flexible — adapt the test scope based on target platforms and project maturity.
Announce at start: "I'm using the testing skill to verify this plugin works correctly."
Step 1: Resolve Input & Detect Scope
Input Normalization
The target must be a local bundle-plugin project (has package.json + skills/). Remote URLs and archives are not supported — testing requires a local working directory.
Scope Detection
| Target | Mode | |
|---|---|---|
| Project root with multiple platforms | Full testing — all 5 test phases | |
| Project root with single platform | Platform testing — phases 1-4 for the target platform | |
| Single skill directory | Skill-only testing — phase 3 (component discovery) only |
Phase 1: Local Test Environment
Generate a temporary dev-marketplace for local installation testing.
For Claude Code
- Create
../dev-marketplace/adjacent to the project directory - Generate
.claude-plugin/marketplace.jsonpointing to the project:
- Instruct the user:
For Cursor
Cursor plugins are installed from local paths directly:
For Other Platforms
- Codex: Symlink
skills/into~/.agents/skills/per INSTALL.md - OpenCode: Register the plugin path in
.opencode/plugins/ - Gemini CLI: Point the extension config to the local directory
See references/platform-test-guides.md for platform-specific setup instructions.
Phase 2: Hook Smoke Tests
Verify hooks execute without errors by running them directly.
SessionStart Hook
Expected: Exits 0, prints a one-line prompt containing the project name and available skills. No stderr output.
Verify output format:
- If
CLAUDE_PLUGIN_ROOTis set: valid JSON withhookSpecificOutput.additionalContext - If
CURSOR_PLUGIN_ROOTis set: valid JSON withadditional_context - Neither: plain text
Custom Hooks (if configured)
If the project defines PreToolUse or PostToolUse hooks in hooks.json, run each referenced script directly and verify:
- PreToolUse scripts: exit 0 on a valid project, exit 2 to block writes on critical issues
- PostToolUse scripts: always exit 0, warnings go to stderr
OpenClaw Hook-Pack (if present)
Verify hooks/openclaw-bootstrap/HOOK.md has valid YAML frontmatter with events declaration, and handler.js uses ESM export default.
Phase 3: Component Discovery
Verify that all declared components can be found by the host platform.
Skills
For each directory under skills/:
- [ ] Contains
SKILL.md - [ ] Frontmatter has
nameanddescription - [ ]
namematches directory name - [ ]
descriptionstarts with "Use when..."
Agents
For each .md file under agents/:
- [ ] Has YAML frontmatter
- [ ] Body has 5+ non-empty lines (self-contained protocol)
Platform Manifests
For each target platform:
- [ ] Manifest file exists and is valid JSON
- [ ] Paths in manifest resolve to existing files/directories
- [ ] Version matches
package.jsonversion
Phase 4: Cross-Platform Readiness
Generate a platform-specific test checklist based on references/platform-test-guides.md and known limitations from bundles-forge:scaffolding — references/platform-adapters.md.
Known Limitations to Verify
| Platform | Limitation | Test | |
|---|---|---|---|
| Claude Code | Plugin caching breaks ../ paths | Verify no ../ in hook commands or manifest paths | |
| Cursor | Bootstrap lost after /clear | Verify session-start runs independently of prior context | |
| Codex | No hook bootstrap | Verify AGENTS.md or INSTALL.md has manual setup instructions | |
| OpenCode | Plugin JS must use ESM | Verify export default in .opencode/plugins/*.js | |
| Gemini CLI | Extension needs contextFileName | Verify gemini-extension.json has contextFileName field | |
| OpenClaw | Hook-pack wiring uncertain | Document as known risk in test report |
Phase 5: Test Report
Generate a test report summarizing all findings.
Report Structure
Report location: .bundles-forge/audits/<timestamp>-test-report.md
Integration with Releasing
In the releasing pipeline, testing runs after auditing and before version bump:
If testing reveals critical issues, the release pipeline is blocked until they are resolved.
Common Mistakes
| Mistake | Fix | |
|---|---|---|
| Skipping local install test | Always test with a real dev-marketplace — file discovery differs from file existence | |
| Testing only on one platform | Run cross-platform checklist for every target platform | |
| Ignoring hook exit codes | Hooks must exit 0 to avoid blocking the host; test all code paths | |
| Not cleaning up dev-marketplace | Always remove dev-marketplace after testing | |
| Testing after version bump | Test before bumping — avoid releasing a broken version |
Inputs
project-directory(required) — bundle-plugin project root
Outputs
test-report— comprehensive test results written to.bundles-forge/audits/dev-marketplace(temporary) — local marketplace directory for installation testing
Integration
Called by:
- bundles-forge:releasing — pre-release dynamic verification (after audit, before version bump)
- User directly — standalone local testing during development
Calls:
- (none — testing is a pure executor, does not dispatch other skills)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testing/SKILL.md
Popularity
- Repository stars
- 296
- Repository forks
- 23
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. 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/odradekai/bundles-forge/testing)