Rustやブラウザー関連の変更を、TopcoatのCIに合わせた書式チェック、Lint、テスト、ドキュメント生成でローカル検証し、コミットやPRの前に問題を見つけます。
- Rustの変更をコミット前に検証したいとき
- ブラウザー部分のビルドとテストを確認したいとき
- CI相当のドキュメント生成を行いたいとき
変更内容に合ったConventional Commits形式のコミットメッセージを作り、変更種別に応じたリリースノートやバージョン更新に役立つ履歴を残します。
Always use this skill before authoring a commit message in the Topcoat repository
実行スコア 未検証
インストール方法を見るTopcoatの変更を記録するコミットメッセージを、Conventional Commits形式で作成するためのルールを示します。featやfixなどの種別、必要に応じたスコープ、短く簡潔な件名の書き方を確認できます。本文には変更の動機や以前の動作との違いを記し、関連する課題や互換性を壊す変更はフッターに記載します。変更種別はリリースノートやバージョン更新にも使われるため、内容に合ったものを選びます。
Topcoatで作業し、コミットメッセージの形式を揃えたいときに向いています。変更内容を後から追いやすくしたい場合や、リリース時に参照される履歴を残す場合にも使えます。
Topcoatのコミット向けのルールです。本文とフッターは任意ですが、件名には種別が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Topcoat follows Conventional Commits. .github/workflows/semantic-pr.yml enforces the same format on PR titles, and PRs are squash-merged, so keep commits and PR titles consistent. release-plz reads the history to generate changelogs and pick version bumps (feat -> minor, fix -> patch, breaking -> major), so pick the type deliberately.
<type>(<scope>): <subject>
<body>
<footer>
Only the header is required.
Type -- one of feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert. Only feat and fix are user-facing and appear in the changelog.
Scope -- optional. The area touched: a crate name with the topcoat- prefix dropped (view, router, runtime, asset, cookie, session, tailwind, cli, core, font, icon, ui, htmx, alpine-ajax), or a finer subsystem (macro, module) when clearer. Omit it when the change spans crates or the type says enough (chore: bump dependencies).
Subject -- imperative present tense ("add", not "added"/"adds"), lowercase first letter, no trailing period, short.
Body -- optional; add one when the "what" or the "why" is not obvious from the subject. Same tense. State the motivation and contrast it with the previous behavior.
Footer -- reference closed issues (Closes #123). For a breaking change, add ! after the type or scope (feat(router)!: ...) and end with:
BREAKING CHANGE: <what breaks and how to migrate>
Plain ASCII only, per the style skill: -/-- not an em dash, -> not a Unicode arrow, ... not an ellipsis.
Maintainers already know Topcoat and Rust. State what changed and why; skip restated context and throat-clearing.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Rustやブラウザー関連の変更を、TopcoatのCIに合わせた書式チェック、Lint、テスト、ドキュメント生成でローカル検証し、コミットやPRの前に問題を見つけます。
Topcoat向けのRust手続きマクロを設計する際に、構文情報を保つAST、解析処理、マクロの入口とコード生成の分担を整理します。
Topcoatのプルリクエストについて、ブランチ全体の差分に基づくタイトルと本文を作り、変更内容や検証方法を簡潔に伝えます。
TopcoatのMarkdownガイドを、配置場所や構成、平易な英語での書き方に沿って整理し、読みやすく保守しやすいドキュメントにまとめます。
Rustのコードやドキュメントを編集するときに、モジュール構成、依存関係、文章表現、テスト設計などプロジェクトの規約に沿う方法を示します。