npx agentspec-cli install 141e642a-8905-4827-8fc9-e8ea2524fef6 --framework ClaudeCode→ .claude/skills/ci/SKILL.md
# Local CI Smoke Test
Reproduce the GitHub Actions CI pipeline locally. Detect the running platform and run the matching workflow steps.
## Execution
Run the bundled script from the project root:
```bash
bash "${CLAUDE_SKILL_DIR}/scripts/ci-smoke.sh" $ARGUMENTS
```
## Skip Flags
| Flag | Effect |
|------|--------|
| `--skip-common` | Skip lint, build, typecheck |
| `--skip-native` | Skip cargo test and native addon build |
| `--skip-package` | Skip electron-builder packaging and artifact verification |
## Workflow Overview
### Common Checks (all platforms)
1. `pnpm lint` — oxlint
2. `pnpm build:core` — compile core package
3. `pnpm build:renderer` — compile renderer package
4. `pnpm typecheck` — tsgo type checking
### macOS (Darwin)
Prerequisite: `vendor/Syphon.framework` must exist.
- cargo test → build:native → example typecheck → example build → electron-builder --dir --mac → verify Syphon.framework + .node addon in packaged app
### Windows (MINGW/MSYS/CYGWIN/Windows_NT)
Prerequisite: `vendor/Spout2/` must exist.
- cargo test → build:native → example typecheck → example build → electron-builder --dir --win → verify .node addon in packaged app
### Linux
Common checks only. Native build not supported.
## Error Handling
- Missing vendor SDK: prints setup instructions and exits with code 1
- Any step failure: `set -e` causes immediate abort
- Artifact verification: explicit error messages identify which file is missing
Built on the Agent Skills standard
CI/CD Workflow
1. **Build** - Package compiles/builds 2. **Test** - All tests pass 3. **Lint** - No linting errors 4. **Type check** - No type errors
by AgentHub Crawler
ci
Run after each commit to detect CI-relevant entrypoints and surface whether repository checks should be verified or automated.
by AgentHub Crawler
ci-cd-and-automation
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.
by AgentHub Crawler
Sign in to leave a comment.
Local Development Rules
You are **building speq-skill while using it**.
by AgentHub Crawler