Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/tomes --skill cadence명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | cadence |
| description | name: cadence-pr-create Use when this capability is needed. |
Create a GitHub pull request from the current branch's changes. Before creating the PR, run the same CI checks that GitHub Actions runs. Follow all Cadence repo conventions.
Run these in parallel to understand the current state:
git status — check for uncommitted changesgit log --oneline master..HEAD — see all commits on this branchgit diff master...HEAD --stat — see which files changedgit diff master...HEAD — full diff for understanding the changesIf there are uncommitted changes, stage and commit them first (ask the user for a commit message if the intent is unclear). All commits must include --signoff (-s) to add a Signed-off-by trailer (DCO requirement).
If the current branch is master, create a new branch first:
username/fix-issue-123)username/add-retry-to-shard-takeover)These mirror what the golangci-lint-validate-code-is-clean CI job does (scripts/github_actions/golint.sh):
make .idl-status — verifies the idls/ submodule points to mastermake pr — runs tidy, go-generate, fmt, lint in sequencegit status --porcelain — if any files changed after make pr, warn the user and stop. This means generated code or formatting is out of date.make build — compile-check all packages and test filesmake test — runs all unit tests (excludes host/ integration tests)The PR title must follow Conventional Commits format: <type>(<optional scope>): <description>
Valid types: fix, feat, docs, style, refactor, perf, test, chore, ci, build, revert
Scope should be the Cadence service or package area when applicable (e.g., history, matching, frontend, persistence, common).
Examples:
feat(history): add retry logic for shard takeoverfix(persistence): handle nil pointer in task list managerrefactor(quotas): generalize LimiterFactory with type paramsUse the PR template from .github/pull_request_guidance.md. Structure the body as:
## What changed?
<1-3 sentences: what changed technically. Link the GitHub issue if one exists.>
## Why?
<Context for a future maintainer: how did this work before, what was wrong, why this approach?>
## How did you test it?
<Specific test commands that were run and their results. Include exact commands a reviewer can copy-paste.>
<Always include the commands from Step 2 that were actually run and passed.>
## Potential risks
<API/IDL changes? Schema changes? Feature flag reuse? Performance concerns? Core task processing? If none, say "None — isolated change with no API/schema/flag impact.">
## Release notes
<If user-facing, describe the change. Otherwise "N/A — internal change.">
## Documentation Changes
<Link to docs PR, or describe what needs updating, or "N/A">
Guidelines for the body:
#<number> or https://github.com/cadence-workflow/cadence/issues/<number>$ARGUMENTS contains an issue numberUse that directly — no further lookup needed.
Fetch open issues:
gh issue list --repo cadence-workflow/cadence --state open --limit 100 --json number,title,labels,body
Evaluate relevance: Compare the PR's changes (files modified, commit messages, diff content) against each open issue's title, body, and labels. Consider:
Rank and suggest: Pick the top 1-3 most relevant issues (if any seem related). Present them to the user via AskUserQuestion with options:
#<number>: <title> (with a description showing the first ~100 chars of the issue body)If no issues match: Tell the user no matching open issues were found, and ask whether they want to enter an issue link manually or skip.
Once an issue is confirmed:
Fixes #<number> (for bug fixes) or Relates to #<number> (for features/refactors)git push -u origin HEADgh pr create --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
--draftmake pr hasn't been run and there are generated file changes, warn the user and suggest running make pr before creating the PR.gen/ or files matching *_generated.go / *_mock.go, warn that these are generated files and make go-generate may need to be runSource: cadence-workflow/cadence — distributed by TomeVault.