lens-batch

Generates two-pass batch intake files and resumes Lens planning targets after answers are filled.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/crisweber2600/Lens.Core.Src --skill lens-batch-crisweber2600
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lens-batch
Source: https://github.com/crisweber2600/Lens.Core.Src/tree/main/_bmad/lens-work/skills/lens-batch
Command: npx skills add https://github.com/crisweber2600/Lens.Core.Src --skill lens-batch-crisweber2600

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Planning phases in the Lens workflow often stall waiting for interactive answers to context-specific questions. This Skill collects those questions into a single markdown intake file that users can fill offline, then automatically resumes the owning planning phase once every required answer block contains real content. ## Core Features & Use Cases - Two-pass batch flow: Pass 1 analyzes feature.yaml, predecessor artifacts, cross-feature context, and constitution inputs to generate a tailored {target}-batch-input.md; pass 2 validates answers and delegates back to the owning planning target. - Automatic readiness detection: Treats blank blocks and placeholders like TBD, TODO, ?, or [pending] as unanswered, so no manual status toggling is required. - Multi-target support: Works with preplan, businessplan, techplan, finalizeplan, and expressplan, each with its own intake file and context sources. - Use Case: A product manager runs /batch --target techplan, receives a techplan-batch-input.md with architecture and migration questions derived from the current feature context, fills it in offline, and re-runs the command to resume the techplan phase with those answers loaded. ## Quick Start Run the batch command for the current planning target, fill in the generated batch input markdown file, then re-run the same command to resume planning.

Frequently Asked Questions about lens-batch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Lens planning phase in batch mode?

Run the batch command with an optional --target flag such as preplan, businessplan, techplan, finalizeplan, or expressplan. Pass 1 writes a target-specific batch input markdown file; fill in the answers and re-run the command to trigger pass 2, which resumes the owning planning target.

How does batch mode detect that my answers are ready?

Readiness is derived automatically from the answer blocks in the batch input file. Any block containing blank text or placeholders like TBD, TODO, ?, or [pending] is treated as unanswered; explicit answers such as 'None.' or 'Deferred: reason' count as complete.

Which planning targets support the batch intake flow?

The supported targets are preplan, businessplan, techplan, finalizeplan, and expressplan, each with its own default intake file such as techplan-batch-input.md. QuickPlan is internal-only and is reached only through ExpressPlan's wrapper delegation.

Does pass 1 of the batch flow modify lifecycle artifacts?

No. Pass 1 only writes or refreshes the batch input markdown file. It never publishes predecessor artifacts, launches native BMAD workflows, modifies lifecycle artifacts like prd.md or architecture.md, or updates feature.yaml phase state.

What happens if I re-run batch before filling in all answers?

The flow re-enters pass 1 and refreshes the intake file. Existing user-authored answers are preserved; only stale context snapshots and unanswered question prompts are updated.