ev
EvenniaのGitHubでレビュー待ちPRや要対応Issueを一覧し、CHANGELOG.mdへの追記やリンク構造の検証を支援します。
原文原文の説明を見る
Evennia project management commands — list PRs, issues, and more.
実行スコア 未検証
インストール方法を見るこんなときに便利
- レビュー待ちPRを確認したいとき
- トリアージ対象のIssueを探すとき
- PRやIssueから変更履歴を作るとき
- CHANGELOG.mdのリンクを検証するとき
日本語での紹介
できること
EvenniaプロジェクトのPRやIssueを確認し、メンテナーの対応が必要な項目を古い順に一覧します。通常のPR一覧ではレビュー待ちを表示し、allを付けると変更要求中のPRも含められます。Issueはトリアージ待ち、または対応可能なものを表示できます。PRやIssueの一覧にはクリックできるGitHub URLが付きます。また、PR・Issue番号や自由記述からCHANGELOG.md向けの追記案を作成し、既存のカテゴリ順に沿って追加できます。リンク参照の対応関係や重複、URLの番号違いなどを検証する機能もあります。
こんなときに便利
Evenniaの保守作業で、レビュー待ちやトリアージ対象をまとめて把握したいときに向いています。変更履歴を一定の形式で整えたい場合や、リンクの記載漏れを確認したい場合にも使えます。
使い方の例
/ev prsでレビュー待ちのPRを一覧にして/ev issues allで対応可能なIssueを確認して/ev clog 123から変更履歴の追記案を作って
注意点
GitHubの操作にはgh CLIが必要です。インストールされていない場合は、導入を依頼します。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
含まれるファイル(7)
- SKILL.md6.0 KB
- clog_validate.py5.1 KB
- ev-clog.sh2.7 KB
- ev-issues.sh2.7 KB
- ev-prs.sh3.9 KB
- tests/test_clog_validate.py9.2 KB
- tests/test_ev_skill.py21.6 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
/ev — Evennia Project Skill
Route based on the first argument:
prs→ List PRs awaiting maintainer reviewprs all→ List all open PRs (including changes-requested)issues→ List issues needing triageissues all→ List all actionable open issuesclog #NNN→ Add changelog entry for a PR or issueclog <text>→ Add freeform changelog entryclog validate→ Validate CHANGELOG.md structure
If no argument or unrecognized subcommand, show available subcommands.
Requires: gh CLI. If not installed, ask the developer to install it
(https://cli.github.com/) — do not attempt workarounds.
Always use full URLs. Whenever you list or reference a PR or issue —
in the main listing, in overlap notes, in follow-up commentary, or in any
answer to a later question — include its full clickable GitHub URL
(https://github.com/evennia/evennia/pull/NNNN or /issues/NNNN). Never
refer to a PR/issue by a bare #NNNN alone; the developer must be able to
click through to GitHub at all times.
prs
Usage: /ev prs [all]
List open PRs on evennia/evennia that need maintainer attention.
/ev prs— Only PRs awaiting review (excludes drafts, approved, and changes-requested PRs since those are waiting on the author). Sorted oldest-first with overlap annotations showing which PRs touch the same source files./ev prs all— All open non-draft PRs that aren't yet approved, including changes-requested. Same ordering and overlap detection.
Steps
- Run the helper script from the skill directory, passing through any
extra argument (
allor empty):
wherebash <skill_dir>/ev-prs.sh [all]<skill_dir>is the directory containing this SKILL.md file. - Present the output directly to the user — it is already formatted as markdown with clickable URLs. Preserve every full URL, and keep them full in any commentary you add (see "Always use full URLs" above).
issues
Usage: /ev issues [all]
List open issues on evennia/evennia that need maintainer attention. Sorted
oldest-first.
/ev issues— Only issues labelledneeds-triage(not yet reviewed)./ev issues all— All open issues except those waiting on someone else (excludesmore info needed,on hold,devel-implemented).
Steps
- Run the helper script from the skill directory, passing through any
extra argument (
allor empty):
wherebash <skill_dir>/ev-issues.sh [all]<skill_dir>is the directory containing this SKILL.md file. - Present the output directly to the user — it is already formatted as markdown with clickable URLs. Preserve every full URL, and keep them full in any commentary you add (see "Always use full URLs" above).
clog
Usage: /ev clog #NNN or /ev clog <freeform text>
Add a changelog entry to CHANGELOG.md.
Routing
- If the argument is a number (with or without
#), treat it as a PR/issue number and follow the linked entry steps. - Otherwise, treat the entire argument string as freeform text and follow the freeform entry steps.
clog-linked
For PR/issue numbers.
- Run the helper script to fetch metadata and generate the entry:
The script outputs two lines:bash <skill_dir>/ev-clog.sh <number>- Line 1: the entry, e.g.
[Fix][pull3869]: Handle evennia -l & ... (jaborsh) - Line 2: the link ref, e.g.
[pull3869]: https://github.com/...
- Line 1: the entry, e.g.
- Show the generated entry to the user for approval. They may want to adjust the wording or category.
- Read
CHANGELOG.mdand insert:- The entry line into the
## Main branchsection. Entries are ordered by category:Featentries go at the top of the section, thenFix, thenDoc/Docs. Insert the new entry after the last entry of the same category (or before the first entry of the next category if none exist yet). Always before the blank line that precedes the link references. - The link reference into the link-reference block at the bottom of
the
## Main branchsection (before the next##heading).
- The entry line into the
- Show the user the final diff for confirmation.
clog-freeform
For entries not tied to a specific PR or issue (local fixes, minor tweaks, etc.). These produce unlinked entries with no link-reference line.
- Parse the freeform text into a changelog entry. The text may already be
a well-formed entry or just a rough description. Produce a line matching
the format:
- <Cat>: <Description> (<Author>)where:- Cat — guess from the text:
Feat,Fix,Doc, orSecurity. Default toFixif unclear. - Description — clean up the text: capitalize the first letter, trim trailing periods, keep it concise (one line preferred, wrap with two-space indent if truly needed).
- Author — use the git user name (
git config user.name). If the text already contains a parenthesised author, keep it.
- Cat — guess from the text:
- Show the generated entry to the user for approval.
- Read
CHANGELOG.mdand insert the entry line into the## Main branchsection, ordered by category (same rules as linked entries). No link reference is needed. - Show the user the final diff for confirmation.
clog-validate
Usage: /ev clog validate
Validate CHANGELOG.md structure. Checks each section for:
- Mismatched URLs —
[pull100]must point to/pull/100, not a different number or/issues/... - Missing link refs — entry references
[pull100]but no[pull100]: ...defined - Orphan link refs —
[pull100]: ...defined but no entry uses[pull100] - Duplicate link refs — same
[pull100]: ...defined more than once
Steps
- Run the validator:
python3 <skill_dir>/clog_validate.py CHANGELOG.md - Present the output directly to the user. If errors are found, offer to fix them.
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
コメント
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。