本文へ移動
cccskills
無料GitHub で公開日本語紹介

source-code-management

変更内容や検証結果を確認し、規約に沿ったコミットメッセージを作成・レビューします。依頼だけではコミットは作成しません。

原文原文の説明を見る

Create or review caddy-security commit messages using repository indicators, required body sections, and timestamped message files. A message request does not create a commit.

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 差分に合うコミットメッセージを作りたいとき
  • メッセージがリポジトリ規約に沿うか確認したいとき
  • コミット用の日時付きメッセージファイルを用意したいとき

日本語での紹介

できること

変更内容とGitの状態を確認し、リポジトリの規約に沿ったコミットメッセージを作成・レビューします。件名には変更区分を示す指標を一つ付け、文字数や句点の有無などの条件を守ります。本文には変更前後の状態、実施したテスト、実装上の補足を所定の順番で記載し、リンクや一行の長さも確認します。メッセージ作成の依頼では、日時付きのファイルに内容を書き、git commit -F ... コマンドも提示します。

こんなときに便利

変更をコミットする前に、内容を正確に表すメッセージを整えたいときに使えます。複数の変更がある場合に依頼範囲を見極めたり、テストを実施していない理由を明記したりする場面にも向いています。

使い方の例

  • 「この差分に合うコミットメッセージを作ってください」
  • 「このコミットメッセージがリポジトリの規約に沿っているか確認してください」

注意点

メッセージ作成だけでは、ファイルのステージングやコミット、タグ付け、公開は行いません。レビューのみの依頼では、指定がない限りメッセージファイルを作りません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md9.5 KB
  • agents/openai.yaml207 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Source Code Management

Commit Message Rules

All commits must have a proper commit message. Inspect the requested diff and git status --short, including staged and unstaged work, before describing it. Use the user's requested scope; do not include unrelated work merely because it is present in the checkout. Describe the final behavior and actual validation, not a transcript or an abandoned implementation. Creating a message does not stage files, create a commit, tag a release, or publish changes.

A hand-written commit message subject line must conform to the following rules:

  • The first line of each commit message is the subject.
  • The subject line MUST be less than 87 characters long.
  • The subject line MUST NOT terminate with a period (.).
  • The subject line MUST start with a change indicator followed by a colon (:).

Change Indicators

This repository uses change indicators as a mix of product-surface labels and maintenance labels. Prefer the most specific product surface when the change is clearly about one Caddy security directive, parser, provider, or runtime path. Use a maintenance label when the change is repository plumbing, documentation, testing, release work, or a bug fix that cuts across multiple surfaces.

Selection rules:

  • Use exactly one indicator. Do not combine indicators or add parenthesized scopes.
  • Prefer public Caddyfile and module names over internal abbreviations. For example, use authenticate instead of authn, and authorize instead of authz.
  • Use caddyfile for parser/adaptation infrastructure that affects several directives, Caddyfile fixture changes, or generic config loading.
  • Use provider indicators such as ldap, oauth, or saml only when the change is provider-specific. Use identity when the change is shared by identity stores or identity providers.
  • Use breakfix for a reported regression, panic, or shipped behavior that is visibly broken for users. Use fix for narrower correctness fixes that are not tied to a known user breakage.
  • Use tests, not unittest, for Go tests, Caddyfile adapt fixtures, and testdata changes whose primary purpose is coverage.
  • Use skills for AI agent skills, skill metadata, or agent-facing repository instructions. Prefer it over docs or ops when the primary purpose is helping AI agents work with this repository.
  • Use ops for dependency or toolchain version bumps. Use build only when the build behavior itself changes.
  • The Makefile release target creates the subject ops: released v<VERSION>. For hand-written release workflow changes, use ops. Follow release-and-versioning for the release procedure and publication scope; an automated subject does not replace the body requirements for hand-written commit messages.
  • Use various only when a commit intentionally spans unrelated surfaces and no more specific indicator is honest.
  • Normalize older repository labels when creating new messages: use authenticate for authn, authorize for authz, ldap for ids/ldap, local for ids/local, feat for feature, and tests for unittest. Replace misc or chore with a more specific indicator when possible, or ops/various when it is truly general maintenance.
  • Use colon form for new dependency bumps, such as ops: update go-authcrunch dependency.

Use one of these product-surface indicators:

  • app: Caddy security app provisioning, lifecycle, config validation, or runtime config resolution
  • authenticate: authenticate handler behavior, authentication portals, cookies, crypto, transforms, or authentication Caddyfile directives
  • authorize: authorize handler behavior, authorization policies, ACLs, bypass rules, crypto, claim extraction, or header injection
  • caddyfile: global security Caddyfile parsing, directive ordering, adapt behavior, parser helpers, or Caddyfile fixtures spanning multiple surfaces
  • credentials: credential directives and credentials config
  • identity: shared identity store or identity provider behavior
  • ldap: LDAP-specific identity store or provider behavior
  • local: local identity store or local user behavior
  • messaging: messaging directives and messaging config
  • oauth: OAuth or OpenID Connect provider behavior
  • registration: user registration directives and registration policy behavior
  • saml: SAML provider behavior
  • secrets: secrets manager directives and secret resolution behavior
  • sso: SSO provider directives and single sign-on provider config
  • ui: portal UI directives, labels, icons, metadata, themes, or UI assets
  • cmd: cmd/authcrunch wrapper behavior

Use one of these maintenance indicators:

  • breakfix: reported regression, panic, or user-visible breakage fix
  • fix: correctness fix without a known production breakage
  • feat: user-facing capability that does not fit a more specific product surface indicator
  • docs: documentation-only changes
  • tests: test additions, fixture updates, or coverage improvements
  • refactor: behavior-preserving code restructuring
  • skills: AI agent skills, skill metadata, AGENTS.md, or agent-facing repository instructions
  • ops: dependency, Caddy, Go, toolchain, release, version-reference, or repository maintenance changes
  • build: Makefile, build output, xcaddy, packaging, or local build behavior
  • github: GitHub Actions, issue templates, CLA workflow, or repository GitHub metadata
  • security: vulnerability, dependency audit, hardening, or disclosure-policy changes
  • various: intentionally mixed changes that do not fit one indicator

The commit message body must contain the following sections in this order:

  1. Before this commit:
  2. After this commit:
  3. Tests:
  4. More info:

The body may also contain the following optional sections:

  1. Resolves:
  2. Partial Resolution:
  3. See also:
  4. Links:

The following rules apply to the body of a commit message:

  • Separate sections with one blank line.
  • Each section title MUST end with a colon (:).
  • Lines MUST NOT exceed 87 characters, except in Links and More info.
  • Use Resolves ONLY when the PR or commit resolves an issue completely.
  • Use Partial Resolution when the PR or commit addresses an issue partially.
  • Use See also for additional related references.
  • Resolves, Partial Resolution, and See also MUST contain valid links.
  • Multiple links in those reference sections MUST be separated by comma and space (, ).
  • Tests MUST describe the command or manual check performed.
  • If no smoke test was run, Tests MUST say not run and include the reason.
  • More info MUST summarize the implementation details or notable decisions.
  • Do not reference tmp/ directories or their contents anywhere in the commit message, including Tests, More info, links, commands, and absolute paths. Those local artifacts are not durable repository references. Summarize actual validation and relevant decisions in the message itself; use tracked source, tests, skills or stable public links when a reference is useful. Omit local output-path arguments from command summaries without claiming a different run.

The Links section must contain a list of valid links or references, e.g.:

  - Text reference
  - [HTTP link](http://google.com/)

Use this template for commit messages:

indicator: concise subject under 87 characters

Before this commit: describe the previous behavior, limitation, or state.

After this commit: describe the new behavior, implementation, or state.

Tests: describe the command or manual check performed.

More info: summarize important implementation details or decisions.

For example, a commit message may look like this:

docs: add contributing guidance

Before this commit: the repository had no guidance related to open-source
contributions.

After this commit: contribution guidance is documented in `CONTRIBUTING.md`.

Tests: reviewed the rendered Markdown manually.

More info: added a focused contributor workflow and repository etiquette notes.

Commit Message File Workflow

For every request to create or generate a commit message, write it below tmp/commits with a YYYYMMDD_HHMM_ prefix and always provide the corresponding git commit -F ... command. Do not require the user to ask separately for a message file. A review-only request does not create a file unless asked.

Commit message files in tmp/commits are working artifacts and should not be committed unless explicitly requested. This output location and the git commit -F command shown to the user are separate from the message contents; neither belongs inside the generated message. Local evidence links may be given in the user-facing response outside the commit message.

Acceptance criteria

  • The subject has one allowed indicator, is shorter than 87 characters, and has no final period. The required body sections appear in order and obey line limits.
  • Tests names actual commands or manual checks performed and reports omitted smoke tests with their reason. A proposed test is never described as passing.
  • Review the complete message for temporary-directory references, including absolute paths and links; no tmp/ reference appears in its contents.
  • A message request produces the timestamped file under tmp/commits and its git commit -F command; a review-only request does not create or commit files.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

authentication-portal-api

無料概要あり

認証ポータルのログインやトークン更新、プロフィール、管理APIを利用するHTTPクライアントの仕様確認とトラブル対応を支援します。

  • ポータル向けJSONログインを実装したいとき
  • ブラウザーのトークン更新を調べたいとき
  • ネイティブ認証APIを扱いたいとき
greenpau/caddy-security2,2632026年10月26日 更新

break-fix-troubleshooting

無料概要あり

Caddyの認証・認可まわりで起きた設定や実行時の障害を、設定ファイル、ログ、バージョン、HTTPの証拠から切り分け、最小修正や調査報告にまとめます。

  • ログイン障害の原因を調べたいとき
  • OIDCやSAMLの失敗を切り分けたいとき
  • 最小限の設定修正を探したいとき
greenpau/caddy-security2,2632026年10月26日 更新

coding-directives

無料概要あり

caddy-securityのGoコードやCaddyモジュール、Caddyfileパーサー、HTTP連携の実装・レビューで、境界やライフサイクル、エラー処理の規約を確認するスキルです。

  • Caddyfileパーサーの変更をレビューしたいとき
  • CaddyモジュールやHTTP処理を実装したいとき
  • アプリの起動・終了処理を確認したいとき
greenpau/caddy-security2,2632026年10月26日 更新

configuration

無料概要あり

caddy-securityのCaddyfile全体を作成・点検し、認証方式に合う設定ガイドを選びながらsecurityアプリとHTTPルートを配線するスキルです。

  • Caddyfile全体を作成したいとき
  • 認証ポータルをルートに接続したいとき
  • 保護対象パスに認可ポリシーを設定したいとき
greenpau/caddy-security2,2632026年10月26日 更新

Caddyの認証ポータルとルートへの認証処理を設定し、利用するログイン元やリダイレクト先の信頼条件、更新機能などを組み立てるスキルです。

  • 認証ポータルを新しく構成したいとき
  • ログインに使うストアやプロバイダーを選びたいとき
  • 保護ルートをポータル認証につなぎたいとき
greenpau/caddy-security2,2632026年10月26日 更新

認証ポータルのCookie名や接頭辞、属性、ドメインを設定し、認可ポリシーが探すトークンCookieとの対応を整えます。

  • ポータルのCookie名を一括で変更したいとき
  • Cookie属性やドメインを調整したいとき
  • 更新トークン用Cookie名を上書きしたいとき
greenpau/caddy-security2,2632026年10月26日 更新

greenpau のスキルをすべて見る

このスキルの問題を報告する