用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aibot88/sec_skill_store --skill commit-lint命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project
Guía técnica completa para integrar 250+ servicios externos con agentes IA usando Composio. Cubre instalación, autenticación OAuth, gestión de herramientas, triggers y flujos multi-servicio.
Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project
基于 SOC 职业分类
正在显示 SKILL.md
| name | commit.lint |
| description | Formats and lints code with ruff using a sub-agent. Use after tests pass to ensure code style compliance. |
| user-invocable | false |
Step 3/4 in full workflow
Full commit workflow: review, test, lint, and commit
Reviews code, runs tests, lints, and commits changes. Use when ready to commit work with quality checks.
Before proceeding, confirm these steps are complete:
/commit.testGoal: Formats and lints code with ruff using a sub-agent. Use after tests pass to ensure code style compliance.
Format and lint the codebase using ruff to ensure code quality and consistency.
Run ruff format and ruff check to format and lint the code. This step should be executed using a sub-agent to conserve context in the main conversation.
IMPORTANT: Use the Task tool to spawn a sub-agent for this work. This saves context in the main conversation. Use the haiku model for speed.
Spawn a sub-agent to run linting
Use the Task tool with these parameters:
subagent_type: "Bash"model: "haiku"prompt: See belowThe sub-agent should:
a. Run ruff format
ruff format .
This formats the code according to ruff's style rules.
b. Run ruff check with auto-fix
ruff check --fix .
This checks for lint errors and automatically fixes what it can.
c. Run ruff check again to verify
ruff check .
Capture the final output to verify no remaining issues.
Review sub-agent results
Handle remaining issues
Run ruff to format and lint the codebase:
1. Run: ruff format .
2. Run: ruff check --fix .
3. Run: ruff check . (to verify no remaining issues)
Report the results of each command.
This step ensures code quality and consistency before committing. It runs after tests pass and before the commit step. Using a sub-agent keeps the main conversation context clean for the commit review.
A workflow for preparing and committing code changes with quality checks.
The full workflow starts with a code review to catch issues early, runs tests until they pass, formats and lints code with ruff, then reviews changed files before committing and pushing. The review and lint steps use sub-agents to reduce context usage.
Steps:
Use branch format: deepwork/commit-[instance]-YYYYMMDD
git checkout -b deepwork/commit-[instance]-$(date +%Y%m%d)Required outputs:
code_formattedBefore completing this step, you MUST have your work reviewed against the quality criteria below.
Use a sub-agent (Haiku model) to review your work against these criteria:
Criteria (all must be satisfied):
/commit.commit_and_pushReference files: .deepwork/jobs/commit/job.yml, .deepwork/jobs/commit/steps/lint.md