daily-coding

Applies a quality checklist to everyday code writing and modification tasks.

Updated Oct 7, 2022
One-click install
npx skills add https://github.com/tamagusko/linux-cfg --skill daily-coding-tamagusko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: daily-coding
Source: https://github.com/tamagusko/linux-cfg/tree/main/dotfiles/claude/skills/daily-coding
Command: npx skills add https://github.com/tamagusko/linux-cfg --skill daily-coding-tamagusko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Everyday coding tasks often skip basic quality steps like reading files before editing, adding type hints, or removing debug statements, leading to bugs and security issues. This Skill enforces a consistent before-during-after checklist for every code modification. ## Core Features & Use Cases - Pre-edit discipline: Requires reading the target file and understanding existing logic before making any change. - In-code safeguards: Enforces minimal changes, Python type hints, TypeScript any avoidance, and checks against injection, XSS, and path traversal vulnerabilities. - Post-completion cleanup: Verifies execution, removes debug print/console.log statements, and summarizes the change scope. - Use Case: When asked to "add a validation function to utils.py", the Skill ensures the file is read first, the change stays minimal and typed, and no leftover debug output remains. ## Quick Start Ask the assistant to implement a new feature or modify existing code, and it will follow the daily coding checklist automatically.

Frequently Asked Questions about daily-coding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure code quality when using AI to write code?

Apply a structured checklist covering three phases: read and understand the target file before editing, make minimal typed changes with security checks during coding, and verify execution plus remove debug statements afterward.

What coding mistakes should I avoid in Python?

Avoid mutable default arguments like `def f(data=[])`; use `data: list | None = None` instead. Also avoid bare `except:` clauses; catch specific exceptions like `ValueError`, log the error, and re-raise.

When should I not use a general coding checklist?

Skip it for pure reading or understanding tasks with no modification intent, configuration-only changes, documentation-only writing, and work already covered by specialized skills like bug-detective, architecture-design, or tdd-guide.

What security checks should AI-generated code pass?

Validate and escape all user input, use pathlib for file paths to prevent path traversal, avoid command injection, XSS, and SQL injection patterns, and never hardcode API keys or passwords.

Does this checklist work for TypeScript as well as Python?

Yes. For Python it requires type hints on functions, and for TypeScript it requires avoiding the `any` type. The security and cleanup checks apply to both languages equally.