数据审查
- 作者仓库星标 0
- 作者更新于 实时读取
- 作者仓库 skills-registry
- 领域
- 通用
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- macOS · Linux
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: codemie-mr
description: >- Use when this capability is needed. Always start by checking git status: git branch --show-cu…
category: 通用
runtime: 无特殊运行时
---
# codemie-mr 输出预览
## PART A: 任务判断
- 适用问题:通用任务拆解、检查和交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Instructions / 1. Check Current State / 1b. Check for Code Review Spec”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于通用任务拆解、检查和交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Instructions / 1. Check Current State / 1b. Check for Code Review Spec”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件。
先用一个小任务确认它会围绕“Instructions / 1. Check Current State / 1b. Check for Code Review Spec”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: codemie-mr
description: >- Use when this capability is needed. Always start by checking git status: git branch --show-cu…
category: 通用
source: tomevault-io/skills-registry
---
# codemie-mr
## 什么时候使用
- 用于审阅代码、文档或方案并给出可执行反馈 适合处理通用任务拆解、检查、交付和复盘,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤;通常不需要额外 API K…
- 面向通用任务拆解、检查和交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Instructions / 1. Check Current State / 1b. Check for Code Review Spec」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "codemie-mr" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Instructions / 1. Check Current State / 1b. Check for Code Review Spec
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} GitLab Merge Request Workflow
Instructions
1. Check Current State
Always start by checking git status:
# Current branch
git branch --show-current
# Uncommitted changes
git status --short
# Existing MR for current branch
glab mr list --source-branch=$(git branch --show-current) 2>/dev/null || echo "No MR"
1b. Check for Code Review Spec
After checking git state, look for a code review spec for this branch/ticket.
Extract ticket from current branch name (pattern EPMCDME-XXXXX).
Try to read the spec:
Read: .codemie/reviews/<TICKET>/review.md
# Fallback (if no ticket found):
Read: .codemie/reviews/<branch-name>/review.md
If spec is found → extract for MR description:
- Issues found: count of
- [ ]+- [x]+- [~]under CRITICAL and MAJOR - Issues fixed: count of
- [x]items - Issues rejected: count of
- [~]items with justifications - Clean: if no issues were found at all
Keep this data — it will be injected into the MR description in Step 4.
2. Validate Jira Ticket (Required for Commits)
Before any commit, verify Jira ticket exists in context:
- Look for
EPMCDME-xxxpattern in conversation history - Check if user provided ticket number
- If no ticket found: Ask user: "What is the Jira ticket number (EPMCDME-xxx)?"
Do NOT proceed with commit without Jira ticket.
3. Handle Based on User Request
"commit changes" → Commit only (requires Jira ticket):
git add .
git commit -m "EPMCDME-xxx: Action and message"
"push changes" → Push only:
git push --set-upstream origin $(git branch --show-current)
"create MR" → Full workflow below.
4. Create MR Workflow
If on main branch:
- Create feature branch first:
git checkout -b <type>/<description> - Then proceed with commit/push/MR
If MR already exists:
git push --set-upstream origin $(git branch --show-current)
# Inform: "Changes pushed to existing MR: <url>"
If no MR exists:
# Push changes
git push --set-upstream origin $(git branch --show-current)
Build the MR title from the Jira ticket and a concise description of the work done (read commit history since main if needed to understand what was implemented):
git log main..HEAD --oneline
Title rules:
- Pattern:
EPMCDME-xxx: <Short description starting with capital letter> - Max ~70 characters
- Describe the feature/fix, not the process ("Add SharePoint datasource support", not "Implement EPMCDME-123")
Build the description — always include Summary and Changes. If a code review spec was found in Step 1b, include the Code Review section:
glab mr create \
--title "EPMCDME-xxx: <Short feature description>" \
--description "## Summary
[2-4 sentence overview of what was implemented and why]
## Changes
- [Key change 1]
- [Key change 2]
## Code Review
<!-- Include ONLY if review spec was found in Step 1b -->
AI code review completed (AI-Code-Review marker in commit history).
- Issues found: <N critical, N major> / No issues found (clean)
- Issues fixed: <N> / N/A
- Issues rejected: <N with justification> / N/A
:white_check_mark: Reviewed and approved by AI Code Reviewer
## Checklist
- [ ] Self-reviewed
- [ ] Manual testing performed
- [ ] Documentation updated (if needed)
- [ ] No breaking changes (or documented)"
If no review spec was found → omit the ## Code Review section entirely from the description.
After MR is created, immediately approve it using the MR IID returned by glab mr create:
glab mr approve <MR_IID>
This adds the AI reviewer's +1 to the MR. If glab mr approve fails (e.g., self-approval not allowed on this GitLab instance), inform the user but do not treat it as a blocking error.
After the MR is created, hand off to the babysit-mr skill to monitor it:
- Invoke
babysit-mrwith the MR URL returned byglab mr create - It will watch for CI failures, reviewer comments, and merge conflicts, fixing them autonomously until the MR merges
Commit Format
Enforced by Tekton CI — invalid messages will block the pipeline.
Regex: ^((EPMCDME)-(?!0+)\d+:\s[A-Z][a-z]*.*|Generate release notes for version \d+\.\d+\.\d+|Revert "(EPMCDME|AMNAAIRN)-(?!0+)\d+:\s[A-Z][a-z]*.*")$
Required Pattern: EPMCDME-xxx: Capital sentence (description must start with uppercase letter)
Valid examples:
git commit -m "EPMCDME-123: Add new documentation"
git commit -m "EPMCDME-456: Fix authentication bug"
git commit -m "Generate release notes for version 1.2.3"
git commit -m "Revert \"EPMCDME-123: Fix authentication bug\""
Invalid (will be rejected by Tekton):
git commit -m "Add new feature" # Missing ticket
git commit -m "feat: add feature" # Wrong format
git commit -m "EPMCDME-123 add feature" # Missing colon
git commit -m "EPMCDME-123: fix bug" # Lowercase first letter
git commit -m "EPMCDME-0: Fix bug" # Zero ticket ID not allowed
Branch Format
Pattern: <type>/<description> (Jira ticket optional)
Examples:
feat/add-user-profilefix/auth-timeoutdocs/api-guidefeat/EPMCDME-123-user-settings(ticket optional but allowed)
MR Title Format
Pattern: EPMCDME-xxx: Brief description
Always start with Jira ticket number.
Troubleshooting
Error: "glab: command not found"
Solution: Install GitLab CLI:
# macOS
brew install glab
# Linux
snap install glab
# Or download from: https://gitlab.com/gitlab-org/cli
Error: No Jira ticket in context
Action: Ask user: "What is the Jira ticket number (EPMCDME-xxx) for this commit?"
- Wait for user response
- Validate format matches
EPMCDME-\d+ - Then proceed with commit
Error: Already on main branch
Solution: Create feature branch first:
git checkout -b <type>/<short-description>
Error: No changes to commit
Solution: Check git status - nothing to commit or changes already staged.
MR already exists
Action: Just push updates to existing MR, don't create new one.
Examples
Example 1: User provides ticket upfront
User: "commit these auth changes for EPMCDME-456"
git add .
git commit -m "EPMCDME-456: Fix OAuth2 token refresh"
Example 2: No ticket in context
User: "commit the changes" Claude: "What is the Jira ticket number (EPMCDME-xxx) for this commit?" User: "EPMCDME-789"
git add .
git commit -m "EPMCDME-789: Update user profile API"
Example 3: Full MR creation
User: "push and create MR for EPMCDME-321"
- Check for existing MR
- Commit with ticket:
EPMCDME-321: Add payment gateway - Push changes
- Create MR with title:
EPMCDME-321: Add payment gateway
Example 4: Push to existing MR
User: "push my changes"
- Check MR status
- If exists: push to existing
- If not: push only (no MR creation unless requested)
Source: codemie-ai/codemie-ui — distributed by TomeVault.
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核