# Project Instructions for Claude
## Obsidian Integration
This project uses the Obsidian MCP server for session documentation.
### Session Report Requirements
**When to write session reports:**
- After completing any task or TODO item
- Before ending a coding session
- After significant milestones or decisions
- When asked to "wrap up" or "save progress"
**Report contents should include:**
- Clear, descriptive title
- Summary of what was accomplished
- Technical details of implementation choices
- All files that were modified
- Any follow-up tasks or known issues
### Example Session Report
When finishing work, use the `write_session_report` tool:
```
write_session_report({
title: "Implemented user authentication",
summary: "Added JWT-based authentication with refresh token support",
details: "Used jose library for JWT handling. Implemented access/refresh token flow with 15min/7day expiry. Added middleware for protected routes.",
files_changed: [
"src/auth/jwt.ts",
"src/middleware/auth.ts",
"src/routes/login.ts"
],
next_steps: [
"Add rate limiting to login endpoint",
"Implement password reset flow",
"Add tests for auth middleware"
],
tags: ["auth", "security", "jwt"],
project: "my-app"
})
```
### TODO Management
When discovering tasks during development:
- Use `create_todo` to track them immediately
- Include priority and project context
- Add due dates for time-sensitive items
### Searching Past Work
Before starting new features:
- Use `search_notes` to find related past work
- Check for existing patterns or decisions
- Use `find_backlinks` to understand connections