todo-finder
Finds and organizes TODO, FIXME, HACK, and NOTE comments in codebase. Use when user asks to "find TODOs", "show all FIXMEs", "list action items", or "what needs to be done".
What this skill does
# TODO Finder Skill Searches codebase for TODO, FIXME, HACK, NOTE, and similar comments, organizing them by priority and file. ## When to Use This skill activates when the user wants to find action items in code: - "Find all TODOs in the project" - "Show me what FIXMEs we have" - "List all the HACKs in the codebase" - "What needs to be done in this project?" - "Find all code comments with action items" ## Instructions ### Step 1: Search for Action Item Comments Use Grep to find common action item markers: - **TODO**: Things that need to be done - **FIXME**: Things that need to be fixed - **HACK**: Temporary solutions that need improvement - **BUG**: Known bugs - **NOTE**: Important notes - **XXX**: Warnings or important items - **OPTIMIZE**: Performance improvements needed - **REFACTOR**: Code that needs refactoring ### Step 2: Organize by Priority Group findings by severity: 1. **Critical** (FIXME, BUG) 2. **Important** (TODO, HACK) 3. **Informational** (NOTE, OPTIMIZE, REFACTOR) ### Step 3: Format the Output Display results in a clear, actionable format: ``` ๐ Code Action Items Summary ================================ ๐ด Critical (2 items): ๐ src/auth/login.js:45 FIXME: Authentication bypass vulnerability if user is null ๐ src/api/payments.js:127 BUG: Payment processing fails for amounts over $10,000 โ ๏ธ Important (5 items): ๐ src/components/Header.js:23 TODO: Add mobile responsive menu ๐ src/utils/validation.js:89 HACK: Using regex for email validation, should use proper library ๐ src/services/api.js:156 TODO: Implement retry logic for failed requests ๐ src/db/connection.js:34 HACK: Hardcoded connection pool size, should be configurable ๐ src/pages/Dashboard.js:78 TODO: Add loading skeleton for better UX โน๏ธ Informational (3 items): ๐ src/utils/formatting.js:67 NOTE: Date format follows ISO 8601 standard ๐ src/algorithms/search.js:234 OPTIMIZE: Can use binary search here for O(log n) instead of O(n) ๐ src/components/Table.js:145 REFACTOR: This component is too large, split into smaller components ================================ Total: 10 action items ``` ### Step 4: Provide Context For each item, show: - File path and line number - The comment type (TODO, FIXME, etc.) - The full comment text - Surrounding context if helpful ### Step 5: Suggest Next Steps Recommend actions based on findings: - If many FIXME/BUGs: "Consider addressing critical issues first" - If many HACKs: "These temporary solutions should be properly implemented" - If many TODOs: "Prioritize and add to your backlog" ## Examples ### Example 1: Basic Search **User:** "Find all TODOs in this project" **Response:** ``` Searching for TODO comments... Found 7 TODO items: ๐ src/components/Dashboard.js:45 TODO: Add error boundary for better error handling ๐ src/hooks/useAuth.js:23 TODO: Implement token refresh logic ๐ src/services/analytics.js:89 TODO: Add event batching to reduce API calls ๐ src/pages/Settings.js:156 TODO: Add form validation ๐ src/utils/cache.js:67 TODO: Implement cache expiration ๐ tests/unit/auth.test.js:34 TODO: Add tests for edge cases ๐ docs/API.md:12 TODO: Document new endpoints Total: 7 TODO items found ``` ### Example 2: Multiple Types **User:** "Show me all action items - TODOs, FIXMEs, everything" **Response:** ``` Scanning codebase for action items... ๐ด CRITICAL (1): ๐ src/api/users.js:234 FIXME: SQL injection vulnerability in search query โ ๏ธ IMPORTANT (4): ๐ src/auth/session.js:67 TODO: Implement session timeout ๐ src/components/ImageUpload.js:45 HACK: Using setTimeout instead of proper image processing library ๐ src/utils/validator.js:123 TODO: Add input sanitization ๐ src/config/db.js:28 BUG: Connection pool exhaustion under high load โน๏ธ INFORMATIONAL (2): ๐ src/algorithms/sort.js:89 OPTIMIZE: Use quicksort instead of bubble sort ๐ src/components/LargeForm.js:234 REFACTOR: Split into smaller components Total: 7 items (1 critical, 4 important, 2 informational) ``` ### Example 3: Specific File **User:** "Find TODOs in the authentication module" **Response:** ``` Searching for TODOs in authentication files... ๐ src/auth/login.js: Line 45: TODO: Add 2FA support Line 89: TODO: Implement remember me functionality Line 156: NOTE: Password hashing uses bcrypt with salt rounds of 12 ๐ src/auth/session.js: Line 23: TODO: Add session cleanup cron job Line 67: FIXME: Session storage not working in Safari Line 123: TODO: Implement single sign-on ๐ src/auth/permissions.js: Line 34: TODO: Add role-based access control Line 78: HACK: Permissions hardcoded, should come from database Total: 8 items in authentication module ``` ## Search Patterns ### Standard Markers ``` TODO: - Tasks to be completed FIXME: - Things that are broken and need fixing BUG: - Known bugs HACK: - Temporary workarounds XXX: - Important warnings NOTE: - Important information OPTIMIZE: - Performance improvements needed REFACTOR: - Code quality improvements needed ``` ### Extended Markers ``` REVIEW: - Needs code review TEST: - Needs testing DOC: - Documentation needed CLEANUP: - Code cleanup needed SECURITY: - Security concerns ``` ## Grep Command Examples ### Find all TODO comments: ```bash grep -rn "TODO:" --include="*.js" --include="*.ts" --include="*.py" . ``` ### Find multiple types: ```bash grep -rn -E "(TODO|FIXME|HACK|BUG):" --include="*.js" . ``` ### Case-insensitive search: ```bash grep -rni "todo:" . ``` ## Output Formatting Tips ### Group by Priority 1. Show critical items first (FIXME, BUG) 2. Then important items (TODO, HACK) 3. Finally informational items ### Show Context - Include file path and line number - Show the full comment - Add surrounding code if it helps understanding ### Make It Actionable - Count items by type - Suggest which to tackle first - Note patterns (e.g., many TODOs in one file) ## Tips ### For Complete Search - Search all relevant file types (.js, .ts, .py, .java, etc.) - Include test files - Check documentation files - Don't forget config files ### For Better Organization - Group by file or by type - Sort by priority - Show totals and summaries - Highlight critical items ### For Context - Show line numbers for easy navigation - Include surrounding code if helpful - Note who added it if in git blame - Show when it was added (if checking git history) ## Common Variations ### Search Specific Directory "Find TODOs in the components folder" ### Search by Type "Show me all FIXME comments" ### Search by Priority "What are the critical issues in the code?" ### Search with Context "Find TODOs and show me the code around them" ## Edge Cases ### No Results ``` โจ Great news! No TODO items found in the codebase. Either the project is complete or TODOs are tracked elsewhere (like GitHub Issues). ``` ### Too Many Results ``` โ ๏ธ Found 127 TODO items - that's a lot! Showing top 10 by priority. Use 'find TODOs in [specific folder]' to narrow down. ``` ### Commented Out TODOs ``` Note: Found some commented-out TODOs (e.g., // // TODO) These might be old items that were resolved. Consider removing them. ``` ## Remember - **Search broadly**: Include all file types - **Organize clearly**: Group by priority/type - **Make actionable**: Show file:line for easy navigation - **Add value**: Don't just list, organize and prioritize - **Suggest next steps**: Help user decide what to tackle first
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit โ setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard โ shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.