BTW (By-The-Way) Skill
Capture improvement suggestions on the fly without disrupting your workflow
Commands
| Command | Description | Example |
|---|---|---|
/btw "text" |
Record a new suggestion | /btw "Consider adding input validation to user form" |
/btw list |
Show all collected suggestions | /btw list |
/btw analyze |
Analyze and categorize suggestions | /btw analyze |
/btw promote [id] |
Promote suggestion to PDCA feature | /btw promote 3 |
How It Works
Recording a Suggestion
- Read
.bkit/btw.json(create if it does not exist) - Append a new entry with:
id: Auto-incrementing integertext: The suggestion texttimestamp: ISO 8601 date stringcontext: Current file or feature being worked onstatus:pending(default)category: Auto-detected (perf,ux,refactor,security,docs,other)
- Write the updated array back to
.bkit/btw.jsonusingwrite_file
Storage Format
{
"entries": [
{
"id": 1,
"text": "Consider caching API responses for /users endpoint",
"timestamp": "2026-04-09T14:30:00Z",
"context": "src/api/users.js",
"status": "pending",
"category": "perf"
}
]
}
Listing Suggestions
- Read
.bkit/btw.json - Display entries in a table sorted by newest first
- Show status indicators: pending, promoted, dismissed
Analyzing Suggestions
- Read all entries from
.bkit/btw.json - Group by category
- Identify patterns and recurring themes
- Suggest which items to prioritize
- Estimate effort for each (low/medium/high)
Promoting to PDCA Feature
- Read the specified entry by ID
- Create a new PDCA plan document:
docs/01-plan/features/{slug}.plan.md - Pre-fill the plan with the suggestion details
- Update the entry status to
promoted - Inform user to continue with
/pdca design {slug}
Categories
| Category | Detection Keywords |
|---|---|
perf |
cache, speed, optimize, slow, performance, latency |
ux |
user, UI, UX, interface, experience, accessibility |
refactor |
refactor, cleanup, simplify, DRY, extract, reorganize |
security |
security, auth, validation, sanitize, XSS, CSRF |
docs |
document, README, comment, explain, JSDoc |
other |
Everything else |
Integration with PDCA
BTW feeds into the Act phase:
- Collect suggestions during Do phase with
/btw "..." - Review collected items with
/btw list - Analyze patterns with
/btw analyze - Promote actionable items with
/btw promote [id] - Continue with standard PDCA flow for promoted items