Commit Graph

4 Commits (c24878651ab6f8b2ec47e301f22d7979f231a855)

Author SHA1 Message Date
Jason Stirnaman c24878651a fix: require --products flag when using stdin, remove TTY check from promptUser
- stdin now requires --products flag with product keys
- removed early return in promptUser() that prevented interactive prompts
- updated help text with stdin + --products examples
- prevents 'No products selected' error when running interactively
2025-10-31 17:31:36 -05:00
Jason Stirnaman 9373446ea6 WIP: follow external links in a draft, accept draft via stdin 2025-10-30 10:06:54 -04:00
Jason Stirnaman ecbb65b045 chore(scripts): docs:create and docs:edit scripts for content creation and editing 2025-10-27 23:43:08 -04:00
Jason Stirnaman 52e676b092 feat(docs): add content scaffolding system with AI-powered analysis
Add yarn docs:create command for intelligent content scaffolding:

- Phase 1: Script analyzes draft and repository structure
- Phase 2: Claude command generates file structure and frontmatter
- Phase 3: Script creates files from proposal

New files:
- scripts/docs-create.js: Main orchestration script
- scripts/lib/content-scaffolding.js: Core scaffolding logic
- scripts/lib/file-operations.js: File I/O utilities
- .claude/commands/scaffold-content.md: Claude analysis command

Features:
- Intelligent product detection (Core, Enterprise, Cloud, etc.)
- Generates complete frontmatter
- Dry-run and interactive confirmation modes

Usage:
  yarn docs:create --from path/to/draft.md
  /scaffold-content
  yarn docs:create --execute
2025-10-27 21:27:34 -04:00