.forge/skills/create-plan/references/example-plan.md
Implement a secure user authentication system with JWT-based token management, password hashing, and session handling. The system should support user registration, login, logout, and token refresh capabilities while maintaining security best practices.
1. Set up authentication dependencies and configuration
2. Create user model and database schema
3. Implement password hashing service
4. Build JWT token generation and validation
5. Create authentication endpoints
6. Implement authentication middleware
7. Add rate limiting for authentication endpoints
8. Write integration tests for authentication flow
Token Secret Exposure
Weak Password Policy
Session Hijacking
Brute Force Attacks
Session-Based Authentication
OAuth 2.0 / Third-Party Authentication
Passwordless Authentication