Skip to content

Conversation

@m1ngsama
Copy link
Member

Summary

Add comprehensive documentation for development workflow, terminal UX decisions, and improve README to be more professional and concise.

New Documentation

DEVELOPMENT.md

Complete development guide including:

  • Quick start and installation
  • Testing methods (dev vs dev:watch)
  • Build and production workflows
  • Project structure overview
  • Common issues and solutions
  • Git workflow best practices

Key Addition: Fixed pnpm run dev auto-restart issue by splitting into separate commands:

  • pnpm run dev - No watch, proper for interactive CLI testing
  • pnpm run dev:watch - Watch mode for when auto-restart is desired

TERMINAL_UX.md

Documents all terminal UX and compatibility decisions:

  • Standardized navigation symbols reference
  • Terminal compatibility improvements
  • Keybinding conventions (vim, less, man)
  • ASCII-only design rationale
  • Unix/Linux terminal alignment

README.md Improvements

  • Remove excessive emoji decorations
  • More professional and concise language
  • Clear feature list and overview
  • Simplified installation and usage sections
  • Remove unnecessary superlatives

Package.json Changes

{
  "scripts": {
    "dev": "tsx src/index.ts",           // Changed: no watch for interactive CLI
    "dev:watch": "tsx watch src/index.ts" // New: watch mode when needed
  }
}

Rationale: tsx watch auto-restarts on file changes, which breaks interactive CLI testing and makes it impossible to properly quit. Separating these workflows fixes the issue.

Benefits

  • Better Developer Experience: Clear instructions for testing interactive CLI
  • Solves Real Issue: Fixes auto-restart problem that made development difficult
  • Design Documentation: Records UX decisions and terminal compatibility rationale
  • Professional Appearance: README suitable for public repository
  • Onboarding: New contributors can understand project quickly

Files Changed

  • README.md: Professional rewrite, remove decorations
  • DEVELOPMENT.md: New comprehensive development guide
  • TERMINAL_UX.md: New terminal UX documentation
  • package.json: Split dev command into dev and dev:watch

Testing Instructions

  1. Review README.md for clarity and professionalism
  2. Follow DEVELOPMENT.md quick start guide
  3. Test pnpm run dev - should run once without auto-restart
  4. Test pnpm run dev:watch - should auto-restart on file changes
  5. Review TERMINAL_UX.md for completeness

Related Issues

Fixes the auto-restart issue reported during development and provides complete documentation for the project's terminal-first philosophy.

Add new documentation files:
- DEVELOPMENT.md: Complete development guide with workflows
- TERMINAL_UX.md: Terminal UX improvements documentation
- Updated README.md: Professional, concise documentation

Documentation improvements:
- Clear development workflow instructions
- Fixed pnpm run dev (removed auto-restart issue)
- Added dev:watch for file watching
- Comprehensive testing guide
- Terminal compatibility notes
- Keybinding reference

Package.json changes:
- Split dev command: 'dev' (no watch) and 'dev:watch' (with watch)
- Better for interactive CLI development
@m1ngsama m1ngsama merged commit ee548a3 into main Nov 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants