2 notes
Claude Prompting Framework (I-C-C-C)
- Instruction: Define the exact task and action for Claude.
- Context: Provide background, goals, and relevant details.
- Constraint: Set rules: tone, format, length, do’s & don’ts.
- Clarification: Ask questions to fill gaps before proceeding.
Software Development Principles (SOC, DYC, DRY, KISS, TDD, YAGNI)
- Separation of Concerns (SOC): Break programs into focused units, each handling a single responsibility.
- Document Your Code (DYC): Write for future you - add clear comments and docs for complex logic.
- Don’t Repeat Yourself (DRY): Avoid duplication - reuse via functions, modules, or libraries.
- Keep It Simple, Stupid (KISS): Prefer simple, readable solutions over clever ones.
- Test Driven Development (TDD): Write a failing test -> make it pass -> refactor safely.
- You Ain’t Gonna Need It (YAGNI): Build only what’s needed now - avoid premature features.
No notes match your search.