Releases: ndycode/redpen
Releases · ndycode/redpen
v1.6.2
What's New
CLI Validation
- Added redpen verify to validate prompt standard locally
- Included prompt standard checker in package scripts for CLI verification
Release Automation
- Added scripts/release.mjs for version/tag/publish/release flow
- Added workflow/release-notes-template.md for consistent notes formatting
Quality and Hygiene
- ESLint switch-case indent support and cleaned TUI indentation
- Added .gitattributes to normalize LF line endings
- README updated with verify and release instructions
Install/Update
npm install -g redpen@latestv1.6.1
What's New
Prompt Standard v2
- Standardized prompt structure across core/web/mobile (MODE, INPUTS, CONSTRAINTS, OUTPUT FORMAT).
- Added evidence requirements, false-positive checks, severity guidance, and reporting rules to all audit prompts.
- Added prompt-injection hardening to all prompts.
Domain-Specific Enforcement
- Core security prompts now include API ergonomics, data integrity, impact analysis, and invariant checks.
- Web interface prompts now include accessibility, component architecture, render performance, and resilience checks.
- Mobile core/UI prompts now include platform-specific safety, consistency, and observability checks.
CI Prompt Validation
- Added check:prompts script and CI enforcement.
- Added prompts/prompt-standard.md as the canonical spec.
Improvements
- Normalized ASCII-only prompt text for portability.
- Updated mobile workflow docs (library-map.txt, run-order.txt, refactor-changelog.md).
Install/Update
npm install -g redpen@latestv1.6.0
What's New
TUI Init Wizard
- Auto-detects your stack from
package.json/pubspec.yaml - Guided setup on first launch if no
.redpenrcexists - Platform selection: Web or Mobile
- Web: Frontend (Next.js, React, Vue) + Backend (Supabase, Firebase, Prisma)
- Mobile: Framework (Flutter, React Native, Native)
New Keyboard Shortcuts
| Key | Action |
|---|---|
r / Enter |
Run: copy + mark done + advance |
c |
Copy only (no mark done) |
s |
Skip prompt + advance |
n |
Jump to next incomplete |
/ |
Fuzzy search prompts |
? |
Help overlay |
Improvements
- Combined run action eliminates need for multiple keypresses
- Fuzzy search for quick prompt navigation
- Skip functionality for prompts you want to defer
- Help overlay shows all keyboard shortcuts
- Skipped prompts shown with yellow indicator
Install/Update
npm install -g redpen@latestv1.5.0
What's New
Interactive TUI
New single-screen terminal UI with arrow key navigation.
Features
- Arrow keys (or hjkl) to navigate between prompts
- Auto-starts at first incomplete prompt
- Toast notifications on right side
- Progress bar with completion percentage
- Preview of prompt content with syntax highlighting
Keys
- Left/Right or h/l: previous/next prompt
- r or Enter: copy to clipboard
- d: toggle done/undone
- q: quit
Install/Update
npm install -g redpen@latestv1.4.0
What's New
Features
redpen run— Full workflow automation (copy → wait → mark done)redpen check [cats]— CI integration, fails if prompts incompleteredpen report— Export markdown audit summaryredpen doctor— Validate config and promptsredpen completion— Shell tab completion (bash/zsh)
Improvements
- Tag filtering —
redpen order securityto filter by category - Custom prompts — Add project-specific prompts to
.redpen/folder - Branch progress — Tracks progress separately per git branch
- Color output — Green (done), yellow (next), dim (pending)
- Numeric shortcuts —
redpen copy 3 - Platform selection —
redpen initasks web vs mobile first - Auto-detect — Detects Flutter (pubspec.yaml) and React Native
Structure
- Reorganized prompts into
core/,web/,mobile/ - 23 prompts for web, 34 for mobile platform
Install/Update
npm install -g redpen@latest