Loading...
Loading...
[Dev] Extracts and organizes best practices for a given topic into a minimal tree structure (max depth 3, max 5 children per node). Use during task planning when writing subtasks in Docs/{name}_Task.md - output is added under each subtask as a concise reference guide. Pure reasoning task with strict formatting rules: keywords/noun phrases only, no prose. (project)
npx skill4agent add cantagestudio/cosmicatlaspacker best-practice-coreExtracts core best practices for a topic and formats them as a minimal, keyword-focused tree.
Docs/{name}_Task.md| Rule | Constraint |
|---|---|
| Max depth | 3 levels |
| Max children per node | 5 items |
| Leaf node max length | 12 words OR 60 characters |
| Node format | Noun phrases/keywords ONLY |
| Duplicates | Merge into single item |
| Tree format | Markdown tree ONLY (no mixing) |
- User Authentication
- Security
- Password hashing (bcrypt/argon2)
- JWT token management
- HTTPS-only cookies
- Validation
- Input sanitization
- Email format check
- Rate limiting
- Error Handling
- Failed login attempts tracking
- Account lockout mechanism
- Clear error messages (no data leaks)## Worker1
- [ ] Implement user authentication #auth !high Deadline(2025:01:15)
- [ ] Design login UI layout
<!-- Best Practice Tree -->
- Login UI
- Layout
- Mobile-first responsive design
- Focus management (accessibility)
- Password visibility toggle
- Validation
- Real-time feedback
- Clear error states
- Security
- No password in URL params
- Auto-logout on idle
- [ ] Create API integration
<!-- Best Practice Tree -->
- Auth API Integration
- Request Handling
- Token refresh logic
- Retry with exponential backoff
- Error Handling
- Network failure graceful degradation
- 401/403 redirect to login
- Security
- Secure token storage
- XSS/CSRF protection| Topic Type | Core Areas to Cover |
|---|---|
| UI Components | Layout, Accessibility, State, Events, Performance |
| API Integration | Request/Response, Error Handling, Caching, Security |
| Database Operations | Schema Design, Query Optimization, Transactions, Validation |
| State Management | Data Flow, Mutations, Side Effects, Persistence |
| Testing | Coverage, Edge Cases, Mocking, Performance |