本文へスキップ
Skillpedia
一般的なプログラミング6.0k · #14483

daily-coding

できること

このスキルは、日々のコード編集を慎重で整ったものにするための、短いチェックリストです。プロジェクトでコードを書いたり、追加したり、変更したりするようAIに頼む人のためのものです。

使う場面

  • ✓プロジェクトでコードを書く、追加する、変更するようAIに頼むとき。
  • ✓余計な機能や無関係な編集なしで、小さく安全な変更がほしいとき。
  • ✓コードが動くことを確認し、最後にデバッグ用の出力を整理してほしいとき。

スキルのリンク

https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/daily-coding/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/daily-coding/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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, or verification-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 any in 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.

repo: Galaxy-Dawn/claude-scholar

人気

GitHubのスター
6.0k
ランキング
#14483
ライセンス
MIT
更新日
2026/10/19

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル