daily-coding
できること
このスキルは、日々のコード編集を慎重で整ったものにするための、短いチェックリストです。プロジェクトでコードを書いたり、追加したり、変更したりするようAIに頼む人のためのものです。
使う場面
- ✓プロジェクトでコードを書く、追加する、変更するようAIに頼むとき。
- ✓余計な機能や無関係な編集なしで、小さく安全な変更がほしいとき。
- ✓コードが動くことを確認し、最後にデバッグ用の出力を整理してほしいとき。
スキルのリンク
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/daily-coding/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のutilsファイルに、日付を整形する関数を追加してください。変更は小さくしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは編集の前にファイルを読み、必要な部分だけを変更し、セキュリティと型の問題を確認して、可能ならコードを実行し、何が変わったかをまとめます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Daily Coding Checklist
A minimal coding quality assurance checklist ensuring every code modification follows best practices.
When to Use
Use this skill for:
- Implementing new features
- Adding code or modifying existing code
- User requests like "write a...", "implement...", "add...", or "modify..."
- Any coding task that involves Edit or Write tools
When Not to Use
Do not use this skill for:
- Pure reading or understanding tasks with no modification intent
- Work already covered by specialized skills such as
bug-detective,architecture-design, orverification-loop - Configuration-only changes
- Documentation-only writing
Core Checklist
Before Starting
- Read before modify - Must read target file with Read tool before making changes
- Understand context - Confirm understanding of existing code logic and design intent
During Coding
- Minimal changes - Only change what's necessary, no over-engineering, no unrelated features
- Type safety - Add type hints for Python, avoid
anyin TypeScript - Security check - Avoid command injection, XSS, SQL injection vulnerabilities
After Completion
- Verify execution - Ensure code runs correctly with no syntax errors
- Clean up - Remove print/console.log debug statements and temporary files
- Brief summary - Inform user what was changed and the scope of impact
Quick Reference
Common Mistakes to Avoid
# ❌ Don't
def process(data=[]): # Mutable default argument
pass
# ✅ Should
def process(data: list | None = None):
data = data or []
# ❌ Don't
except: # Bare except
pass
# ✅ Should
except ValueError as e:
logger.error(f"Processing failed: {e}")
raise
Security Check Points
- User input must be validated/escaped
- Use pathlib for file paths, avoid path traversal
- Never hardcode sensitive info (API keys, passwords)
よくある質問
ドキュメントや設定の変更にも適用されますか?
いいえ。ソースコードの変更のためのもので、ドキュメントだけや設定だけの作業には使いません。
余計な機能を追加しますか?
いいえ。チェックリストは、無関係な機能のない最小限の変更を求めています。
デバッグ用の出力は残りますか?
いいえ。最後にprintとconsoleのデバッグ文を取り除くよう求めています。
詳細
作者による元の説明
Use for everyday coding tasks that involve writing or modifying source code.
人気
- GitHubのスター
- 6.0k
- ランキング
- #14483
- ライセンス
- MIT
- 更新日
- 2026/10/19
コメント
- …
このリポジトリの他のスキル
agent-identifier
6.0kClaude Codeのエージェントを作る方法をエージェントに教えます。名前、トリガーの説明、システムプロンプト、設定を正しく書きます。
architecture-design
6.0k機械学習プロジェクトのコードの標準的な構成を教えます。登録可能な部品を追加するときは、ファクトリーとレジストリのパターンを使います。
bug-detective
6.0k理解、証拠の収集、仮説の検証、修正の確認という手順で、コードのエラーを見つけて直すようエージェントを支援します。
citation-verification
6.0k学術論文の各引用を信頼できる学術情報源と照らして確認し、偽物や誤った参考文献を見つけるようエージェントを支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。