Skip to content
Back to skills

Tui

ASecurity

TUI 키 동작의 분기 로직은 순수 함수로 분리해 테스트

  • 17 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add zzunkie/yardlet --skill tui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zzunkie-tui/badge)](https://www.skillsdirectory.com/skills/zzunkie-tui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tui
description: TUI 키 동작의 분기 로직은 순수 함수로 분리해 테스트
source: learned
---
Home Enter 처럼 상태에 따라 행동이 갈리는 키는 (state, 게이트 플래그, busy) -> Action enum 을 반환하는 순수 함수로 결정 로직을 뽑는다. handle_* 는 그 Action 을 실행만 한다. 워커/터미널 없이 매핑을 단위 테스트할 수 있고, 승인 같은 불변식(승인 대기는 절대 Run 아님)을 테스트로 못박을 수 있다. 실행형 액션은 app.is_busy() 게이트를 넣고, 승인 검사를 busy 보다 먼저 둔다. 실제 실행은 run::run_next 의 게이트가 최종 강제하므로 UI 는 안내 우선.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.