skills/dcjanus/gitlab-mr-issue/SKILL.md
查看/更新 GitLab Issue、MR(含评论与 diff),并按团队规范非交互创建或修改 MR/Issue;涉及 GitLab(含自建实例)Issue/MR 的操作时使用。
npx skillsauth add aiskillstore/marketplace gitlab-mr-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
glab auth status 读取当前实例及 “Logged in to <host> as <user>” 行。GITLAB_HOST=<host> glab api /user | jq -r '.username'(依赖本机 jq,若已设全局 GITLAB_HOST 可直接 glab api /user)。GITLAB_HOST 指定;如需单次覆盖,可在命令前加 GITLAB_HOST=<host> 或用 -R group/project。--output json。glab issue view <id|url>.glab issue view <id|url> --comments(必要时加 --system-logs)。glab issue list --state opened --per-page 50 [-R group/project];过滤标签用 --label foo,bar。glab issue note <id> -m "comment"。glab mr view <id|branch|url> --output json | jq -r '.title,.state,.author.username,.web_url,.description'。glab mr diff <id|branch> --color=never;需要原始 patch 用 --raw。glab mr issues <id>。以下标题与描述规范为默认推荐格式;如与团队/仓库/平台等既有约束冲突,以既有约束为准。若有明确要求(如需中文),则优先遵循;未覆盖的部分再按本规范补齐。
git status 干净。feat(scope): short summary),保持简洁且描述核心目的;即使标题要求中文,语义化前缀(如 feat、fix)仍需英文。## Summary:用 1-2 条短句从功能层面概述目的与影响,强调功能变更而非逐条代码变更;跨层(如 Service/DAO)且语义一致的改动应合并为一次功能描述。## Key changes:3-5 条要点列出主要变更。## Constraints / tradeoffs:若存在约束、限制或非理想选择,简要说明。## Testing:验证方式、命令或场景;未测试需注明原因。## Notes(可选):review 关注点、发布注意事项或后续计划。glab mr create \
--title "feat(scope): short summary" \
--description "$(cat <<'EOF'
# 按上面的格式填充正文
EOF
)" \
--target-branch main \
--source-branch $(git branch --show-current) \
--label bugfix \
--draft \
--yes
--remove-source-branch(合并后删源分支)、--squash-before-merge(合并前压缩为单一 commit);若团队偏好可省略。--reviewer user1,user2、--allow-collaboration。glab mr update <id> --title "..." --description "$(cat <<'EOF'\n...\nEOF\n)" --label ... --yes。--title 与 heredoc 描述:glab issue create \
--title "feat: short summary" \
--description "$(cat <<'EOF'\n- context\n- expected\nEOF\n)" \
--label backlog,team-x \
--assignee user1 \
--yes
--confidential;截止日期 --due-date YYYY-MM-DD。-R group/project:指定自建实例项目,等价于完整 URL。--per-page 与 --page:分页查看列表或评论时使用。在更新 Issue 或 MR 的标题/描述之前,必须先读取当前标题/正文(即将被修改的内容),再进行修改。
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.