AI guidance for maximizing work efficiency. Detailed workflows via /workflow-name.
- Always summarize the user's request before acting
- Ask clarifying questions if requirements are ambiguous
- Confirm before making destructive changes (file deletions, major refactors)
- Follow the re-prompting protocol so user has a chance to adjust their request
- Never delete without user request + pomera backup
- Never push without user confirmation
- Backup before large modifications (>50% of file)
- Prefer native tools over shell when available
- Log sessions to pomera after significant work
- Meta-review artifacts before finalizing (task.md, implementation plans, walkthroughs)
- First prompt: Just ask your question - AI will guide you
- Workflows: Type
/mcp-workflowsto see available workflows - Search: AI uses
mcp_pomera_web_search(Tavily default, 5 engines available) - Backups: AI will remind you before risky operations
- Memory: Sessions logged to Pomera for continuity
| Server | Purpose | When to Enable |
|---|---|---|
backup |
File/folder backup with versioning | Risky operations, refactoring |
pomera |
Text tools, notes, session memory, web search | Always (default) |
text-editor |
Hash-based conflict-detected edits | Complex multi-file edits |
sequential-thinking |
Step-by-step problem analysis | Complex planning, debugging |
Toggle servers: npx mcpick
| Command | Purpose |
|---|---|
/ai-model-update-workflow |
Update AI model defaults in releases |
/dependency-workflow |
Manage dependencies, check updates, security |
/documentation-workflow |
Post-implementation documentation |
/mcp-workflow |
MCP server/tool development |
/meta-review |
Workflow document review |
/pomera-notes-workflow |
Pomera notes for backup/memory |
/test-workflow |
Testing: tools, widgets, MCP, advanced methods |
/token-renewal |
Rotate CI/CD tokens (npm, MCP Registry) |
/tool-workflow |
Develop Tools (BaseTool V2) |
/version-bump-workflow |
Version management, GitHub releases |
/widget-workflow |
Develop Widgets (standalone components) |
Note: 11 workflows currently available in .agent/workflows/
Goal: Create reviewable, iterative work products that facilitate feedback loops.
.agent/context/
task.md # Master checklist (update frequently)
implementation_plan.md # Design before coding (review before execution)
walkthrough.md # Proof of work after completion
{feature}_analysis.md # Deep dives, research findings
1. PLAN → Create implementation_plan.md → Request review
2. EXECUTE → Update task.md as you progress
3. VERIFY → Create walkthrough.md with proof
4. REVIEW → User reviews artifacts, not just code
| Trigger | Action | Artifact |
|---|---|---|
| Before complex refactoring | Create plan | implementation_plan.md |
| After research phase | Document findings | {topic}_analysis.md |
| After major feature | Demonstrate completion | walkthrough.md |
| Before version bump | Validate changes | Diff walkthrough + plan |
| New workflow needed | Draft and review | .agent/workflows/{name}.md |
Implementation Plans should include:
- ✅ User review required section (critical decisions)
- ✅ Proposed changes (grouped by component)
- ✅ Verification plan (how to test)
- ✅ File links with line numbers
- ✅ Mermaid diagrams for complex flows
Walkthroughs should include:
- ✅ Changes made (what was accomplished)
- ✅ Testing results (proof of work)
- ✅ Screenshots/videos (for UI changes)
- ✅ Performance data (before/after)
- ✅ Edge cases tested
Task.md should:
- ✅ Break down into component-level items
- ✅ Use
[ ],[/],[x]consistently - ✅ Update after each phase completion
- ✅ Match task_boundary TaskName granularity
Before writing code:
- Create
implementation_plan.mdwith proposed approach - Use
notify_userto request review - Iterate on plan based on feedback
- Only then begin execution
After writing code:
- Create
walkthrough.mdwith results - Include test results, screenshots, metrics
- Link to changed files with line ranges
- Provide "try it yourself" instructions
File naming:
{feature}_plan.md- Planning artifact{feature}_analysis.md- Research/investigation{feature}_walkthrough.md- Completion proof
Section headers (use consistently):
## User Review Required- Critical decisions## Proposed Changes- What will change## Verification Plan- How to validate## Testing Results- Proof of work## Next Steps- What remains
Links (always use):
[file.py](file:///path/to/file.py#L100-L150)- Code references- Embedded mediarender_diffs(file:///path/to/file.py)- Show all changes
When implementing features or fixes, follow the Red → Green → Refactor cycle:
- Design tests that describe the desired behavior
- Run them — all new tests must FAIL before any implementation
- Confirm the failure pattern matches expectations (not import errors or typos)
- Write the minimum code needed to make failing tests pass
- Run tests — all must pass, including existing regression tests
- No additional features, no premature optimization
- Improve code structure without changing behavior
- Run tests again — still green
- Update
task.mdchecklist
# Run specific test file
python -m pytest tests/test_your_feature.py -v --tb=short
# Run with regression check
python -m pytest tests/test_your_feature.py tests/test_existing.py -q
# Property-based (when applicable)
python -m pytest tests/test_your_feature_properties.py --hypothesis-show-statistics| Scenario | TDD Required? |
|---|---|
| Bug fix with known reproduction | Yes — write test that reproduces, then fix |
| New feature (core logic) | Yes — define behavior via tests first |
| Refactoring existing code | Yes — ensure tests exist before changing |
| UI/cosmetic changes | No — manual verification sufficient |
| Documentation-only changes | No |
Rules to prevent incomplete, deferred, or phantom completion of tasks.
task.md items may never be marked [x] unless the walkthrough contains:
- Changed files listed
- Commands executed
- Test results (pass/fail counts)
- Artifact references (if applicable)
Items containing TODO, FIXME, NotImplementedError, or placeholder stubs may not be marked [x]. Blocked items must use status [B] with a description of what blocks them.
Before declaring any task complete, verify no placeholders remain:
# Search for deferred work markers
rg "TODO|FIXME|NotImplementedError|pass # placeholder" core/ tools/ --glob "*.py"- Run targeted tests after each code change (not just at the end)
- Run full regression before marking a task complete:
# Quick regression
python -m pytest tests/ -q --tb=line
# Full validation (when available)
python -m pytest tests/ -vBefore each task, AI processes through this checklist:
Restate request in 1-2 sentences to verify understanding.
Ask if: scope ambiguous, multiple paths, trade-offs needed, details missing.
Offer search if: current info needed, best practices, error resolution.
| Task Type | Enable | Notes |
|---|---|---|
| Simple Q&A | pomera only | Default |
| Coding | + text-editor | Hash-based edits |
| Research | + sequential-thinking | Complex analysis |
| Risky ops | + backup server | File deletions, refactors |
- Creating plan? → Add "User Review Required" section
- Complex feature? → Request review before execution
- After completion? → Create walkthrough with proof
Trigger if: deleting files, refactoring >50%, bulk replace, restructuring.
- Simple: 1-3 tools (no task_boundary needed)
- Medium: 5-15 tools (use task_boundary)
- Complex: 20+ tools → enable
sequential-thinking
After significant work:
# Session log
mcp_pomera_pomera_notes action=save \
title="Session/2026-01-24/09-30-smart-diff-progress" \
input_content="USER: Implement MCP progress tracking for Smart Diff" \
output_content="AI: Added progress callbacks, complexity estimation, stderr logging. All 26/27 tests passing."
# Research log
mcp_pomera_pomera_notes action=save \
title="Research/2026-01-24/3way-merge-algorithms" \
input_content="QUERY: 3-way merge best practices, git diff3, conflict resolution" \
output_content="FINDINGS: 70% auto-merge rate, diff3 industry standard, semantic understanding key"USE MCP TOOL (not Python script):
# Via MCP (preferred - logs to notes automatically)
mcp_pomera_pomera_web_search \
query="Python property-based testing hypothesis" \
engine="tavily" \
count=5
# Available engines:
# - tavily (default, AI-optimized, 1000/mo free)
# - google (100/day free)
# - brave (2000/mo free)
# - duckduckgo (free, no key)
# - serpapi (100 total free)
# - serper (2500 total free)Engine Selection Strategy:
- Tavily: Default for most searches (AI-optimized)
- Brave: Fallback if Tavily quota exceeded
- Google: Complex queries, local/commercial intent
- DuckDuckGo: Privacy-focused, no API key needed
After searching:
# Save findings to notes
mcp_pomera_pomera_notes action=save \
title="Search/2026-01-24/hypothesis-testing" \
input_content="QUERY: Property-based testing with hypothesis" \
output_content="RESULTS: Key strategies, example patterns, integration guide".agent/
workflows/ # 11 workflow definitions (use `/workflow-name`)
context/ # Task lists, plans, session summaries
docs/ # Reference docs for meta-reviews
docs/ # End-user documentation
tests/
widgets/ # Widget tests
tools/ # Tool tests
test_*_fuzz.py # Property-based/fuzz tests
fixtures/ # Test data
core/ # Business logic (MCP-accessible)
tools/ # GUI components (tools & widgets)
After completing significant work:
mcp_pomera_pomera_notes action=save \
title="Session/2026-01-24/14-30-widget-workflow" \
input_content="USER: Document widget architecture patterns" \
output_content="AI: Created widget-workflow.md and widget_architecture_analysis.md. Documented Tools vs Widgets distinction, integration patterns, testing."After meta-reviews:
mcp_pomera_pomera_notes action=save \
title="Review/2026-01-24/implementation-plan-3way" \
input_content="REVIEWED: 3-way diff implementation plan" \
output_content="FEEDBACK: Approved testing strategy, suggested hypothesis integration, estimated 2-3 weeks"┌─────────────────────────────────────────────────────┐
│ 1. SUMMARIZE 2. CLARIFY 3. SEARCH │
│ 4. MCP-CHECK 5. META-REVIEW 6. BACKUP │
│ 7. ESTIMATE 8. RECORD │
└─────────────────────────────────────────────────────┘
Meta-Review Additions:
- Step 5: Check if planning artifact needed
- After completion: Create walkthrough
- Before major changes: Request review
# Web Search
mcp_pomera_pomera_web_search query="topic" engine="tavily" count=5
# Save Notes
mcp_pomera_pomera_notes action=save title="Category/date/topic" \
input_content="CONTEXT" output_content="RESULTS"
# List Workflows
ls .agent/workflows/
# Meta-Review
# Create implementation_plan.md → notify_user → Execute → walkthrough.mdFor detailed workflows: Use /workflow-name commands listed above