lens-next

Routes feature lifecycle phases by invoking next-ops.py and delegating to phase conductor skills.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) components.

What problem does it solve? Determining the correct next step in a multi-phase feature lifecycle requires reading feature state, lifecycle definitions, and dependency status across governance repositories, which is error-prone when done manually. ## Core Features & Use Cases - Deterministic Routing: Invokes next-ops.py suggest to compute the next phase from feature.yaml and lifecycle.yaml, returning a structured JSON status of unblocked, blocked, or fail. - Dependency Gating: Blocks progression when dependency features have not reached a complete phase, listing each blocker for the user. - Direct Phase Delegation: On an unblocked status, delegates immediately to the appropriate lens-{phase} conductor skill with no extra confirmation prompt. - Use Case: A developer finishes a planning phase and runs /next with a feature ID; the skill checks governance state, confirms dependencies are complete, and hands off to the development phase conductor automatically. ## Quick Start Ask the assistant to run the next step for your feature by providing its feature ID, for example: run /next for feature my-feature-id.

Frequently Asked Questions about lens-next

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

FAQPage Schema
How do I find the next step for a feature in a lifecycle workflow?

Run the suggest command of next-ops.py with your feature ID and governance repo path. It reads feature.yaml and lifecycle.yaml, then returns a JSON status with the recommended phase skill to invoke next.

What does the blocked status mean in next-ops.py routing?

A blocked status means one or more dependency features have not reached a complete phase such as dev-complete or finalizeplan-complete. The result lists each blocker, and no delegation to a phase skill occurs until they are resolved.

Does the lens-next router modify governance or control repo files?

No, the skill performs no writes of any kind. It only reads feature.yaml, lifecycle.yaml, and config files, then delegates to a phase conductor skill which owns all artifact authorship.

Why does next-ops.py report a governance phase conflict error?

This happens when the same feature has different phase values across multiple governance repo clones on the machine. Re-run with --governance-repo pointing to the canonical clone to resolve the split-brain state.

What feature ID formats are accepted by the routing script?

Feature IDs must be lowercase alphanumeric with optional dots, underscores, or hyphens, and must start and end with an alphanumeric character. Invalid formats return a fail status immediately.