Back to skills
SKILL.md
186 Fn 913 03610e66
ASecurityCreate HelpOverlay component showing keybindings.
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added May 31, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add tools-only/X-Skills --skill 186-fn-913_03610e66 --agent claude-codeAre you the author of 186 Fn 913 03610e66?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-186-fn-913-03610e66)# fn-9.13 HelpOverlay component
## Description
Create HelpOverlay component showing keybindings.
### File
`src/components/help-overlay.ts`
### Features
- Modal overlay on ? key
- Lists all keyboard shortcuts
- Dismiss with Esc or ?
### Interface
```typescript
class HelpOverlay implements Component {
render(width: number): string[]
handleInput(data: string): void
}
```
### Content
```
┌─ Help ─────────────────────────────┐
│ │
│ j/k Navigate task list │
│ ? Show/hide this help │
│ q Quit (detach if running) │
│ Esc Close overlay │
│ Ctrl+C Same as q │
│ │
│ Press ? or Esc to close │
└─────────────────────────────────────┘
```
Use pi-tui overlay system if available, or render centered box.
## Acceptance
- [ ] Overlay renders centered
- [ ] All keybindings listed
- [ ] Esc dismisses overlay
- [ ] ? toggles overlay
- [ ] Theme colors applied
## Done summary
- Added HelpOverlay component with keybinding list
- Centered modal box, toggles on ? key
- Esc or ? dismisses overlay
- 26 tests covering visibility, input, centering
## Evidence
- Commits: 8ddf481
- Tests: bun test src/components/help-overlay.test.ts
- PRs:Files in this skill
- README.md
- skill.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.