Repository navigation
da-pr の図を結論に PNG で置き、PR の図を HTML から書き出せるようにし、PR タイトルの形を決める - #129
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
何を変えるか
da-prの本文から## 結果の節をなくし、図は## 結論の最後に 1 点置く形に戻す。図を別の節に置くと要点から離れるため。図はx-presentの PNG を添付し、Mermaid やテキストの図で代えない。あわせて、PR タイトルの形を<種類>(<範囲>): <変更後に何がどうなるか> [<チケット ID>]に決める。リポジトリにはっきり別の慣習があれば、そちらに合わせる。PR の図は、x-presentの共通のfigure/reference/page.cssで 1 枚の HTML を描き、新しいfigure.mjs shotで PNG にする(文字があふれたら失敗する)。ADR の要約図の見た目は変えていない。決めた理由はdocs/decisions.mdの決定 50 に追記した。PR の図の見本(
figure/reference/example-page.htmlをshotで書き出したもの):自動実行されるものに触るか
hooks/を変更するskills/**/SKILL.mdまたはskills/_shared/の本文を変更する(da-pr/reference/pr-template.md、x-present/reference/architecture.md、x-present/figure/guide.md。SKILL.md 本体は変えていない)templates/を変更する新しく実行されるのは、利用者が呼んだ時の
figure.mjs shot(HTML を Playwright で開いて PNG にするだけ)。hook と常時動くものは無い。da-prが書く PR のタイトルと本文の形が変わる。## 結果を作らず、## 結論の最後に「図: 」の一文と PNG の図を置く失敗の向き
該当しない(hook と Stop gate には触れていない)。
検証
./scripts/check.shが通る(f540a0cで実行。ADR 図の CSS を戻した773ceceではtest-da-adr-figure.shとverify-skills.shを流して通過)scripts/test-da-adr-figure.shに、見本がpage.cssを読むこと、shotが引数なしで成功しないこと、PNG を書くこと、文字のあふれで失敗することを足した。PR テンプレートの文面は形を検査するテストが無い)AGENTS.mdの不変条件を壊していない環境依存を持ち込んでいないか
🤖 Generated with Claude Code