用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dlt-hub/dlt --skill worktree-from-issue命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | worktree-from-issue |
| description | Create a git worktree with a new branch for implementing a fix or feature for a GitHub issue |
| argument-hint | <category>/<issue-number>-<short-description> |
Set up an isolated git worktree with a new branch to implement a fix or feature for a GitHub issue.
Parse $ARGUMENTS to extract the branch name in format <category>/<issue-number>-<short-description>.
Branches must follow the pattern from CONTRIBUTING.md:
{category}/{ticket-id}-description-of-the-branch
Categories: feat, fix, exp, test, docs, keep (all lowercase, dashes, no underscores).
For feat and fix, a ticket number is mandatory.
Examples:
fix/3562-clickhouse-drop-sync-perffeat/1234-add-new-destinationExtract from $ARGUMENTS:
branch_name: Full branch name (e.g., fix/3562-clickhouse-drop-sync-perf)category: Prefix before / (e.g., fix)issue_number: Number after / and before first - (e.g., 3562)short_name: Directory-friendly version: {category}-{issue_number}-{first-few-words} (e.g., fix-3562-clickhouse-drop-sync)Validate the branch name matches pattern (feat|fix|exp|test|docs|keep)/[0-9]+-[a-z0-9-]+.
gh issue view <issue_number> --json number,title,state
Warn if the issue doesn't exist or is closed, but continue.
Fetch the newest devel from origin so the branch starts from the latest code:
git fetch origin devel
Use /create-worktree skill:
/create-worktree <short_name> --branch origin/devel
Then create the feature branch inside the worktree:
git -C <worktree-path> checkout --no-track -b <branch_name>
--no-track leaves the branch without an upstream, so the user's git push works.
Use /worktree-make-dev skill to set up the development environment in the worktree. This runs make dev and copies secrets.toml.
Note which secrets source was used — this determines what destinations can be tested.
After dev setup, verify the cwd is still in the worktree:
pwd
If pwd does not show the worktree path, run cd <worktree-path> and verify again. Stop with an error if the cwd cannot be set.
Report the worktree info and available test destinations:
Worktree ready: <worktree-path>
Branch: <branch_name> (based on origin/devel)
Issue: #<issue_number> - <issue_title>
Include the test credential availability from /worktree-make-dev output — downstream skills need this to know which destinations can be tested.
Create or reuse a git worktree for a pull request or branch so reviews and work happen in isolation
Triage, plan, and implement a fix or feature for a GitHub issue end-to-end
Review and rewrite the prose a branch adds — docstrings, comments, user-facing messages, docs — against dlt's fixed vocabulary and Simplified Technical English. Invoke as /review-vocabulary.
基于 SOC 职业分类