بنقرة واحدة
add-dotfile
Safely add a new dotfile to chezmoi management, determining the correct prefix and committing the result.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Safely add a new dotfile to chezmoi management, determining the correct prefix and committing the result.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Intent-Driven Development (IDD) に基づき、ADR(Architecture Decision Record)形式の Intentドキュメントを作成するスキル。ユーザーの「こういう機能を作りたい」「この設計判断をした」 という意図をWhy/Whatに整理し、How(実装詳細)の混入を検出・分離して、docs/adr/ に連番の ADRファイルを生成する。 このスキルは以下の場合に必ず使用すること: - ユーザーが /intent と入力したとき - 「ADRを書きたい」「意図を記録したい」「intentを作成」「設計判断を残したい」「ADR作って」 「決定を記録」「なぜこうしたか残しておきたい」などと言ったとき - ユーザーが新機能やアーキテクチャの判断について議論し、それを文書化したいと示唆したとき Do NOT trigger for: バグ修正の記録、ルーチンなリファクタリング、意図が自明な些細な変更。
Automatically generate PR descriptions according to project templates.
Structured 5W1H completeness checker for written communication. Analyzes text using a Who/What/When/Where/Why/How framework, produces a status table for each element, and provides concrete rewrite suggestions for missing information. ALWAYS use this skill when the user shares text and asks you to review it, check it, proofread it, or confirm it's ready to send — including progress reports, daily standups, meeting minutes, incident reports, handoff documents, status updates, client emails, Slack messages, PR descriptions, or any prose meant to inform others. Also trigger when the user says things like "これで大丈夫か", "情報足りてるか", "抜けてないか", "伝わるかな", "5W1H", "check if anything is missing", "is this clear enough", "review before sending", or asks you to check whether a written message has enough context for the reader. This skill adds a structured framework that generic reviewing lacks — do not skip it just because you could review text without it. Do NOT trigger for: code review, security review, grammar/style-only che
Review a draft text (message, report, PR description, commit message, etc.) from the reader's perspective and suggest improvements.
Scan chezmoi source files for accidentally exposed secrets and verify sensitive files have the private_ prefix.
Inspect the current chezmoi sync state and report unapplied changes, unmanaged files, and whether it is safe to run chezmoi apply.
| name | add-dotfile |
| description | Safely add a new dotfile to chezmoi management, determining the correct prefix and committing the result. |
Guide the user through adding a new configuration file to chezmoi management safely and correctly.
If the user provided a path (e.g. /add-dotfile ~/.config/starship.toml), use that.
Otherwise, ask which file they want to add.
Check whether the file exists:
ls -la <target-path>
Inspect the file content to decide whether private_ is needed:
cat <target-path>
Apply this decision table:
| File contains | Recommended prefix |
|---|---|
| API keys, tokens, passwords, private keys | private_ required |
| Personal info (email, username, etc.) | private_ recommended |
| Only tool settings (theme, keybindings, etc.) | No private_ needed |
| Executable script | executable_ required |
Ask the user to confirm the prefix choice before proceeding.
# For a regular file
chezmoi add <target-path>
# For a file that should be private
chezmoi add --encrypt <target-path> # if encryption is configured
# or rely on chezmoi inferring private_ from permissions
# Verify the source path chezmoi created
chezmoi source-path <target-path>
chezmoi diff <target-path>
chezmoi status
Confirm that:
~/.local/share/chezmoi/chezmoi diff shows no unintended changeschezmoi apply <target-path>
Verify the deployed file looks correct.
Stage only the newly added source file and commit:
git -C ~/.local/share/chezmoi add <source-relative-path>
git -C ~/.local/share/chezmoi commit -m "feat(<tool>): add <filename> to chezmoi"
Use the tool name (e.g. starship, ghostty, git) as the commit scope.
Report:
private_dot_config/starship.toml)private_ was applied and why$ARGUMENTS