Skip to content
Back to skills

246 Fn 91 552ba43b

ASecurity

Enhance existing `flow-next-tui/` scaffold with proper project structure.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmenttypescript

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 246-fn-91_552ba43b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 246 Fn 91 552ba43b?

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

Security grade badge for 246 Fn 91 552ba43b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-246-fn-91-552ba43b/badge)](https://www.skillsdirectory.com/skills/tools-only-246-fn-91-552ba43b)

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
# fn-9.1 Project scaffolding and dependencies

## Description

Enhance existing `flow-next-tui/` scaffold with proper project structure.

### Files to create/update

- `package.json` - add deps, bin fields, scripts
- `tsconfig.json` - strict mode, Bun compat
- `src/` directory structure per spec

### Dependencies

```json
{
  "@mariozechner/pi-tui": "^0.44.0",
  "commander": "^14.0.0"
}
```

### Dev dependencies

Already have oxlint/ultracite from scaffold.

**Remove** `peerDependencies.typescript` from current scaffold - not needed for Bun runtime.

### package.json updates (gno pattern)

```json
{
  "name": "@gmickel/flow-next-tui",
  "type": "module",
  "bin": {
    "flow-next-tui": "src/index.ts",
    "fntui": "src/index.ts"
  },
  "files": ["src"],
  "engines": { "bun": ">=1.3.0" },
  "publishConfig": { "access": "public" },
  "scripts": {
    "dev": "bun run src/index.ts",
    "start": "bun run src/index.ts",
    "test": "bun test",
    "lint": "oxlint --type-aware --type-check",
    "lint:check": "oxlint --type-aware --type-check && oxfmt --check .",
    "format": "oxfmt ."
  }
}
```

No build step needed - Bun runs .ts directly.

**Shebang required** for global installs:
```typescript
#!/usr/bin/env bun
// src/index.ts - first line must be shebang
```

### Directory structure

```
src/
├── index.ts
├── app.ts
├── components/
├── lib/
└── themes/
```
## Acceptance
- [ ] `bun install` succeeds
- [ ] `bun run dev` runs without error (can show placeholder)
- [ ] pi-tui importable: `import { TUI } from '@mariozechner/pi-tui'`
- [ ] Directory structure matches spec
- [ ] `bun run lint` passes
## Done summary
- Added pi-tui and commander dependencies
- Created src/ with components/, lib/, themes/ directories
- Added CLI entry with shebang, theme types, core types

- Scaffolds foundation for TUI implementation
- Follows gno pattern for bin/files/scripts

- bun install: pass
- bun run dev: pass (shows placeholder)
- bun run lint: 0 warnings/errors
## Evidence
- Commits: 24cde68050ac454581829a297fcbf83c0d8005f4
- Tests: bun run lint
- PRs:

Files in this skill

  • README.md819 B
  • skill.md2.1 KB

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.