Expectations

From tae0y/python-project-template · View interactive version

Expectations is an AI agent skill from the GitHub repository tae0y/python-project-template. Working expectations and documentation practices. Use when capturing learnings or understanding how to work with this codebase.

How to use this skill

Skill file

Expectations

When Working with Code

  1. ALWAYS FOLLOW TDD - No production code without a failing test. Non-negotiable.
  2. Think deeply before making any edits
  3. Understand the full context of the code and requirements
  4. Ask clarifying questions when requirements are ambiguous
  5. Think from first principles - don't make assumptions
  6. Assess refactoring after every green - but only refactor if it adds value
  7. Keep project docs current - Update CLAUDE.md when introducing meaningful changes

Documentation Framework

At the end of every significant change, ask: "What do I wish I'd known at the start?"

Document if ANY of these are true:

Types of Learnings to Capture

Documentation Format

#### Gotcha: [Descriptive Title]

**Context**: When this occurs
**Issue**: What goes wrong
**Solution**: How to handle it

// CORRECT - Solution
const example = "correct approach";

// WRONG - What causes the problem
const wrong = "incorrect approach";

Code Change Principles

If you find yourself writing production code without a failing test, STOP immediately and write the test first.

Communication

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.