ci

GitHub

用于在本地运行完整的 CI 流水线,包括安全扫描、代码规范检查、依赖审计及单元测试,帮助用户在推送前验证分支状态和代码质量。

.agents/skills/ci/SKILL.md lylo/pagecord

Trigger Scenarios

用户要求运行本地 CI 推送前验证分支 检查代码质量

Install

npx skills add lylo/pagecord --skill ci -g -y
More Options

Non-standard path

npx skills add https://github.com/lylo/pagecord/tree/main/.agents/skills/ci -g -y

Use without installing

npx skills use lylo/pagecord@ci

指定 Agent (Claude Code)

npx skills add lylo/pagecord --skill ci -a claude-code -g -y

安装 repo 全部 skill

npx skills add lylo/pagecord --all -g -y

预览 repo 内 skill

npx skills add lylo/pagecord --list

SKILL.md

Frontmatter
{
    "name": "ci",
    "description": "Run the local CI sequence for this repo. Use when the user asks to run CI, verify a branch before push, or check code quality with the full local pipeline.",
    "allowed-tools": "Bash"
}

CI

Run the local checks in this order and stop on first failure unless the user asks otherwise:

  1. bundle exec brakeman --quiet --no-pager --ensure-latest
  2. bundle exec rubocop
  3. bin/importmap audit
  4. bin/rails test
  5. bin/rails test:system

Report a short status summary with one line per step. If a step fails, include the failing command and the key error.

Version History

  • 386b8a3 Current 2026-08-20 13:56

Same Skill Collection

.agents/skills/code-review/SKILL.md
.agents/skills/rails-best-practices-core/SKILL.md
.agents/skills/ui-review/SKILL.md

Metadata

Files
0
Version
386b8a3
Hash
a5d9ec99
Indexed
2026-08-20 13:56

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 07:06
浙ICP备14020137号-1 $방문자$