daily-coding

GitHub

日常编码质量保证清单,规范代码修改流程。涵盖读码、最小化变更、类型安全及安全检查,适用于新功能实现或代码修改任务,排除纯阅读、配置或文档工作。

skills/daily-coding/SKILL.md Galaxy-Dawn/claude-scholar

Trigger Scenarios

实现新功能 添加或修改现有代码 用户请求编写/实现/添加代码

Install

npx skills add Galaxy-Dawn/claude-scholar --skill daily-coding -g -y
More Options

Use without installing

npx skills use Galaxy-Dawn/claude-scholar@daily-coding

指定 Agent (Claude Code)

npx skills add Galaxy-Dawn/claude-scholar --skill daily-coding -a claude-code -g -y

安装 repo 全部 skill

npx skills add Galaxy-Dawn/claude-scholar --all -g -y

预览 repo 内 skill

npx skills add Galaxy-Dawn/claude-scholar --list

SKILL.md

Frontmatter
{
    "name": "daily-coding",
    "tags": [
        "Coding",
        "Daily",
        "Checklist"
    ],
    "version": "1.0.0",
    "description": "Use for everyday coding tasks that involve writing or modifying source code."
}

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)

Version History

  • 2f7766f Current 2026-07-25 09:08

Same Skill Collection

skills/agent-identifier/SKILL.md
skills/architecture-design/SKILL.md
skills/bug-detective/SKILL.md
skills/citation-verification/SKILL.md
skills/code-review-excellence/SKILL.md
skills/command-development/SKILL.md
skills/daily-paper-generator/SKILL.md
skills/doc-coauthoring/SKILL.md
skills/expression-skill/SKILL.md
skills/frontend-design/SKILL.md
skills/git-workflow/SKILL.md
skills/kaggle-learner/SKILL.md
skills/latex-conference-template-organizer/SKILL.md
skills/mcp-integration/SKILL.md
skills/ml-paper-writing/SKILL.md
skills/nature-polishing/SKILL.md
skills/nature-response/SKILL.md
skills/nature-writing/SKILL.md
skills/obsidian-kb-artifacts/SKILL.md
skills/obsidian-literature-workflow/SKILL.md
skills/obsidian-project-kb-core/SKILL.md
skills/obsidian-source-ingestion/SKILL.md
skills/paper-self-review/SKILL.md
skills/planning-with-files/SKILL.md
skills/plugin-structure/SKILL.md
skills/post-acceptance/SKILL.md
skills/publication-chart-skill/SKILL.md
skills/research-ideation/SKILL.md
skills/results-analysis/SKILL.md
skills/results-report/SKILL.md
skills/review-response/SKILL.md
skills/skill-development/SKILL.md
skills/skill-improver/SKILL.md
skills/skill-quality-reviewer/SKILL.md
skills/ui-ux-pro-max/SKILL.md
skills/uv-package-manager/SKILL.md
skills/verification-loop/SKILL.md
skills/web-design-reviewer/SKILL.md
skills/webapp-testing/SKILL.md
skills/zotero-obsidian-bridge/SKILL.md
skills/hook-development/SKILL.md
skills/nature-data/SKILL.md
skills/writing-anti-ai/SKILL.md
skills/defuddle/SKILL.md

Metadata

Files
0
Version
2f7766f
Hash
dc9f72ac
Indexed
2026-07-25 09:08

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 04:57
浙ICP备14020137号-1 $Гость$