.claude/skills/ci/SKILL.md
Run the CI pipeline locally (brakeman, rubocop, importmap audit, tests). Use when asked to run CI, check code quality, or verify code before pushing.
npx skillsauth add lylo/pagecord ciInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the CI pipeline locally before pushing.
Run these commands in sequence, stopping on first failure:
Brakeman (security scan)
bundle exec brakeman --quiet --no-pager --ensure-latest
Rubocop (style check)
bundle exec rubocop
Importmap Audit (JS dependency check)
bin/importmap audit
Unit Tests
bin/rails test
System Tests
bin/rails test:system
| Step | Status | |------|--------| | Brakeman (security) | ✅ Passed | | Rubocop (style) | ✅ Passed | | Importmap Audit (JS deps) | ✅ Passed | | Unit Tests | ✅ X tests passed | | System Tests | ✅ X tests passed |
data-ai
Investigate a customer support email and draft a reply. Use when the user pastes a customer message, bug report, billing question, feature request, or how-to question.
development
Investigate and fix a Sentry issue in this codebase. Use when the user provides a Sentry issue URL or ID and wants diagnosis, a fix, verification, or a PR.
testing
Interact with Cloudflare R2 buckets used by Pagecord. Use when the user wants to list objects, inspect bucket stats, fetch files, or check backup integrity in R2.
development
Interact with the Pagecord API for a blog. Use when the user wants to inspect posts or pages, publish content through the API, check API connectivity, or inspect the home page.