AI agent operational rules including token discipline, navigation-first approach, and output contracts. Use when you need efficient and predictable agent behavior during development tasks.
Resources
1Install
npx skillscat add alicoder001/agent-skills/workflow Install via the SkillsCat registry.
SKILL.md
Agent Workflow Rules
Efficient AI agent operation patterns.
Instructions
1. Hard Ignore Rules
Never modify or include in context:
- node_modules/
- dist/
- build/
- .git/
- *.lock files
- Binary files
- Generated files2. Reasoning Protocol (NEW)
Before executing any task, follow this mental process:
1. UNDERSTAND: What is the goal?
- Read the request carefully
- Identify explicit and implicit requirements
2. PLAN: What steps are needed?
- Break into subtasks
- Identify dependencies
3. EXECUTE: Implement step by step
- One subtask at a time
- Verify each step
4. VERIFY: Check the result
- Does it meet requirements?
- Any edge cases missed?
5. REFLECT: What could be improved?
- Learn from mistakes
- Note patterns for future3. Navigation-First Workflow
1. Understand the request
2. Navigate to relevant files FIRST
3. Read existing code
4. Plan changes
5. Implement
6. Verify3. Token Discipline
✅ DO:
- Read only necessary files
- Stop when task is complete
- Use targeted searches
- Summarize long outputs
❌ DON'T:
- Read entire codebase
- Include unnecessary context
- Repeat information
- Over-explain simple changes4. Output Contract
Always structure responses:
## Summary
Brief description of what was done
## Changes
- file1.ts: Added X
- file2.ts: Modified Y
## Next Steps (if applicable)
- Remaining tasks5. Backend/Frontend Split
When working on full-stack:
1. Identify which layer the change affects
2. Start with the data layer (backend)
3. Then update the presentation layer (frontend)
4. Test integration points6. Type Checking
Before completing TypeScript tasks:
✅ Run: npx tsc --noEmit
✅ Fix all type errors
✅ Ensure no implicit any7. Linting
Before completing tasks:
✅ Run: npm run lint
✅ Fix all errors
✅ Fix warnings if quick8. File Size Limits
Components: Max 200 lines
Utilities: Max 100 lines
Services: Max 300 lines
If larger, split into smaller modules.9. Commit Messages
After completing tasks, suggest:
feat(scope): add feature description
fix(scope): fix bug description
refactor(scope): improve code structure