一键导入
lua
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create structured analyses with numbered findings, execution plans, and task materialization
Author a rulebook task spec interactively — research, draft, ask the user clarifying questions, confirm, then create the tasks in rulebook ready for /rulebook-driver. Use when the user wants to plan/spec a feature before implementing.
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Tool: Anthropic Claude Code CLI (`npm install -g @anthropic-ai/claude-code`)
Behavioral guidelines to reduce common LLM coding mistakes — overcomplication, sloppy refactors, hidden assumptions, weak goals. Use when writing, reviewing, or refactoring code. Auto-applies; invoke explicitly via /karpathy-guidelines or 'follow karpathy discipline'.
Accessibility audit for WCAG compliance and usability
| name | Lua |
| description | Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow). |
| version | 1.0.0 |
| category | languages |
| author | Rulebook |
| tags | ["languages","language"] |
| dependencies | [] |
| conflicts | [] |
CRITICAL: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
# Complete quality check sequence:
stylua --check . # Format check
luacheck . # Linting
busted # All tests (100% pass)
# No standard security audit for Lua
CRITICAL: Use Lua 5.4 or LuaJIT with linting.
IMPORTANT: These commands MUST match your GitHub Actions workflows!
# Pre-Commit Checklist (MUST match .github/workflows/*.yml)
# 1. Format check (matches workflow)
stylua --check src/ tests/
# 2. Lint (matches workflow)
luacheck src/ tests/ --std luajit --no-unused-args
# 3. Run tests (matches workflow)
busted tests/
# If ANY fails: ❌ DO NOT COMMIT - Fix first!
Why This Matters:
stylua (writes) locally but stylua --check in CI = failuredescribe("DataProcessor", function()
local processor
before_each(function()
processor = require("data_processor").new()
end)
it("processes valid input", function()
local result = processor:process({1, 2, 3})
assert.are.same({2, 4, 6}, result)
end)
it("handles empty input", function()
assert.has_no.errors(function()
processor:process({})
end)
end)
end)