用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/opendatahub-io/ai-helpers --skill aipcc-commit-suggest命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when you need to evaluate CodeRabbit PR comments and fix or reply
Use this skill to write unit tests that strictly conform to the project's existing testing structure, patterns, and style by learning from similar tests before writing anything new.
Review an Architectural Decision Record (ADR) using a team of six specialist reviewer subagents and produce a consolidated report as both PDF and PPTX slide deck. Use this skill whenever the user asks to review, critique, audit, or get feedback on an ADR, architecture decision, design doc, or RFC — whether the input is a Markdown file, a .docx document, or pasted text. Trigger even if the user does not explicitly say "ADR"; phrases like "review this architecture decision", "critique this design doc", or "run the reviewer panel on this" should also invoke this skill.
正在显示 SKILL.md
| name | aipcc-commit-suggest |
| description | Generate AIPCC Commits style commit messages or summarize existing commits |
| argument-hint | ["N"] |
odh-ai-helpers:aipcc-commit-suggest
/aipcc:commit-suggest # Analyze staged changes
/aipcc:commit-suggest [N] # Analyze last N commits (1-100)
AI-powered command that analyzes code changes and generates commit messages following the project's AIPCC format requirements.
Modes:
git add required)Use cases:
Difference from /git:summary – That command is read-only, while aipcc:commit-suggest generates actionable commit message suggestions for user review and manual use.
The command operates in two modes based on input:
Mode 1 (no argument):
git diff --cached1, use option 2, commit with option 3, skipgit commit -s with selected message if user requests (includes sign-off)Mode 2 (with N):
git log1, use option 2, amend with option 3, skipgit commit --amend -s (N=1) or squash operation (N≥2) if user requests# Generate message for staged files
git add src/auth.ts src/middleware.ts
/aipcc:commit-suggest
# Rewrite last commit message
/aipcc:commit-suggest 1
# Summarize last 5 commits for squash
/aipcc:commit-suggest 5
Generates 3 AIPCC-formatted commit message suggestions:
Each suggestion includes:
AIPCC-XXX: description)Fixes AIPCC-XXX)Example:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Suggestion #1 (Recommended)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AIPCC-123: Add JWT authentication middleware
Implement token-based authentication for API endpoints to enhance
security. The middleware verifies JWT tokens and extracts user
information for authorization decisions.
Fixes AIPCC-123
Co-Authored-By: [AI_NAME] ([AI_MODEL])
Signed-off-by: Your Name <your.email@example.com>
Which suggestion would you like to use? (1/2/3 or skip)
Squashed from N commits: + original commit listAll commits must follow this project-specific format:
AIPCC-XXX: Short description
Longer explanation of what the commit does, written in at least one
complete sentence explaining the purpose and impact of the change.
[Optional: Fixes AIPCC-XXX]
[Optional: Co-Authored-By: [AI_NAME] ([AI_MODEL])]
Signed-off-by: Your Name <your.email@example.com>
Signed-off-by line (use git commit -s)Co-Authored-By: Name <email@example.com>Co-Authored-By: [AI_NAME] ([AI_MODEL]) when AI assists with code generationAIPCC-456: Fix memory leak in authentication service
Resolve memory leak caused by unclosed database connections in the
auth service. This improves server stability under high load.
Fixes AIPCC-456
Co-Authored-By: [AI_NAME] ([AI_MODEL])
Signed-off-by: Jane Developer <jane@example.com>
AIPCC-789: Add user profile management API
Implement REST endpoints for user profile CRUD operations.
Includes validation, error handling, and comprehensive test coverage.
Co-Authored-By: [AI_NAME] ([AI_MODEL])
Signed-off-by: John Developer <john@example.com>
/git:summary – Display repository status and recent commits (read-only)