بنقرة واحدة
pr
Create a feature branch, commit changes, push, and open a PR against iopsystems/metriken
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a feature branch, commit changes, push, and open a PR against iopsystems/metriken
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when starting or picking up a non-trivial effort (feature, investigation, perf probe, refactor, migration) in a shared repo where teammates or future agents must coordinate or hand off; when a repo has no durable in-tree record of decisions and dead-ends; when you're about to drop a well-measured negative result; or when bootstrapping a journal from a repo's commit history.
Release a single metriken workspace crate — bump its version, update the changelog, tag, and (gated) publish to crates.io
| name | pr |
| description | Create a feature branch, commit changes, push, and open a PR against iopsystems/metriken |
Create a PR from the current uncommitted changes. Handles branching, committing, pushing, and opening the PR against iopsystems/metriken.
metriken is a multi-crate Cargo workspace (metriken, metriken-core, metriken-derive, metriken-exposition, metriken-query). Feature PRs do not bump versions — versions are bumped per-crate at release time (see the release skill). Add changelog entries under ## Unreleased instead.
Optional branch name:
/pr fix-quantile-interp).Verify prerequisites:
git status
git diff
git diff --staged
If there are no changes, stop and tell the user. Don't reuse a feature branch that already has unpushed commits for a different change.
Analyze the changes and match existing conventions:
git log --oneline -10
Commit style is conventional: type(scope): description — e.g. feat(query): …, fix(query): …, chore: …. The scope is usually the crate area (query, tsdb, exposition).
Create a feature branch (if on main):
git checkout -b <branch-name>
If already on a suitable feature branch, use it.
Update CHANGELOG.md if the change is user-facing:
## Unreleased, inside the affected crate's
### <crate> <next-version> sub-section (create the sub-section if
absent). Match the existing per-crate grouping.Run checks before committing (if not already run this session):
cargo clippy -p <affected-crate> --all-features -- -D warnings
cargo test -p <affected-crate> --all-features
cargo fmt -p <affected-crate> -- --check
Note: cargo clippy --all-features across the whole workspace currently trips a pre-existing deprecated histogram::percentiles warning in metriken-exposition — scope clippy to the crate you changed.
Stage and commit:
git add -A).Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Push to origin:
git push -u origin <branch-name>
Open the PR. origin is iopsystems/metriken (confirm with git remote -v), so this is a same-repo PR (--head <branch-name>). If origin is instead a personal fork, use --head <fork-owner>:<branch-name> and --repo iopsystems/metriken.
gh pr create \
--repo iopsystems/metriken \
--head <branch-name> \
--draft \
--title "<conventional-commit-style title>" \
--body "$(cat <<'EOF'
## Summary
<1-3 bullets>
## Test plan
<checklist of testing done or needed>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Report the PR URL to the user.
gh pr ready or the GitHub UI.release skill's job.