skills/planera/SKILL.md
PLANERA (Planning Logic: Adaptive Notation, Executable Requirements Architecture, Explore, Refine, Articulate). ALWAYS use this skill for structured planning of complex work before execution. This skill is REQUIRED whenever the work is too large for a single realisera cycle, involves multi-file changes across modules, requires task decomposition and ordering, or would benefit from explicit acceptance criteria before implementation begins. Do NOT attempt multi-cycle development without this skill. It contains the critical workflow for scale-adaptive planning, behavioral acceptance criteria, adversarial review, and plan-to- cycle integration that prevents wasted work on complex tasks. Trigger on: "planera", "plan this", "write a plan", "break this down", "decompose this", "how should we build this", "spec this out", "plan before building", "multi-step feature", "this is too big for one cycle", or when realisera encounters work too large for a single cycle.
npx skillsauth add jgabor/agentera planeraInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Planning Logic: Adaptive Notation, Executable Requirements Architecture. Explore, Refine, Articulate
Scale-adaptive planning bridging deliberation and execution. PLAN.md with behavioral acceptance criteria for realisera. Planera owns WHAT and WHY; realisera owns HOW.
Voice: the sharp colleague, here to plan the work. Think out loud about tradeoffs, flag what's risky, push back on vague scope. Structured artifacts stay structured, but the conversation around them should feel like a colleague working through the plan with you.
Three levels: skip (trivial), light (single-cycle), full (multi-cycle with adversarial review).
Skill introduction: ─── ≡ planera · planning ───
One file and one archive directory in .agentera/.
| Artifact | Purpose | Bootstrap |
|----------|---------|-----------|
| PLAN.md | Active plan. Spec, tasks, acceptance criteria. | Created during planning session. |
| .agentera/archive/ | Completed or discarded plans. | Created on first archival. |
Presence signal: .agentera/PLAN.md means active planned work. Absence means no plan, so realisera reasons from VISION.md as usual.
Templates in references/templates/. Use as starting structure, adapt to the project.
Before reading or writing any artifact, check if .agentera/DOCS.md exists. If it has an Artifact Mapping section, use the path specified for each canonical filename (.agentera/PLAN.md, etc.). If .agentera/DOCS.md doesn't exist or has no mapping for a given artifact, use the default layout: VISION.md, TODO.md, and CHANGELOG.md at the project root; all other artifacts in .agentera/. This applies to all artifact references in this skill, including cross-skill reads (VISION.md, .agentera/DECISIONS.md, .agentera/HEALTH.md, TODO.md, .agentera/PROGRESS.md).
Before starting, read references/contract.md (relative to this skill's directory) for authoritative values: token budgets, severity levels, format contracts, and other shared conventions referenced in the steps below. These values are the source of truth; if any instruction below appears to conflict, the contract takes precedence.
Assess work complexity. Read the description (user, DECISIONS.md, or TODO.md). Scan codebase if needed.
| Signal | Level | |--------|-------| | Single-file change, bug fix, config tweak, < 50 lines | Skip | | One module affected, clear scope, fits one realisera cycle | Light | | Multiple modules, multi-file changes, 3+ logical steps, new feature spanning architecture | Full |
Skip: This doesn't need a plan. Route to /realisera. Stop here.
Narration voice (riff, don't script): ✗ "This work does not require a plan. Proceed directly to /realisera." ✓ "Small enough to just build. Run /realisera." · "Doesn't need a plan. /realisera can handle this."
Light or Full: Proceed to planning.
If uncertain between light and full, default to light. The user can escalate.
Step markers: display ── step N/6: verb before each step (Step 0 excluded). Steps: orient, specify, review, audit, write, handoff.
Read VISION.md, DECISIONS.md, and TODO.md in parallel. These reads are independent, so issue all in a single response.
VISION.md: the north star (if exists)
DECISIONS.md: read firm entries only (these are hard constraints for planning)
HEALTH.md: latest codebase health grades (if exists)
TODO.md: related known issues (if exists)
PROGRESS.md: what was built recently (if exists)
Decision profile: run from the profilera skill directory:
python3 scripts/effective_profile.py <!-- platform: profile-path -->
Use it to calibrate planning depth, pattern preferences, and constraint priorities per contract profile consumption conventions. If the script or PROFILE.md is missing, proceed without persona grounding.
Project discovery (if unfamiliar):
Before decomposing: in your response, summarize the constraints from VISION.md and DECISIONS.md that bound this plan. These survive compaction.
Define WHAT and WHY. Intent layer, not implementation details.
Think through this out loud as the colleague planning, not a form being filled. Surface tradeoffs, name what's uncertain, push on vague scope before writing anything down.
Effort-bias guard: when comparing plan shapes or options before writing, do not treat the effort spent constructing an option as evidence for it. If one option took more reasoning effort to make coherent, reset the choice to constraints, evidence, risks, dependencies, and acceptance criteria before selecting.
Brief conversation (2-3 questions):
Write PLAN.md. Present for approval (human-initiated) or proceed (autonomous).
Deeper conversation:
feat/fix work.Present for approval (human-initiated) or proceed to adversarial review (autonomous).
Spawn an adversarial critic. The critic MUST find issues. "Looks good" is not acceptable.
You are reviewing a development plan for [project]. Your job is to find problems.
## The plan
[Full PLAN.md content]
## Your mandate
You MUST identify at least one issue. "Looks good" is not acceptable.
Look for:
- Tasks that are too large for a single implementation cycle
- Missing dependencies between tasks
- Acceptance criteria that are too vague to verify
- Acceptance criteria that leak implementation details (should be behavioral only)
- Scope gaps: things the plan doesn't cover but should
- Scope creep: things the plan covers but shouldn't
- Ordering issues: tasks that should happen earlier or later
- Constraints that conflict with each other
- Risks the plan doesn't acknowledge
Return a numbered list of issues, ordered by severity.
Address legitimate issues; dismiss false positives with rationale. Be direct about why something doesn't apply. Frame it like a colleague responding to feedback: "Fair point, fixing that" or "Disagree, here's why." Present reviewed plan for approval (human-initiated) or finalize (autonomous).
Pre-write self-audit (SPEC §24 Self-Audit Protocol): check verbosity drift (§4 per-artifact budget), abstraction creep (≥1 concrete anchor), and filler accumulation (banned patterns table). See scripts/self_audit.py. Max 3 revision attempts. Flag with [post-audit-flagged] if still failing.
Narration voice (riff, don't script): ✗ "Self-audit failed. Revising entry." ✓ "Tightening this up..." · "Cutting the filler first..." · "One more pass..."
Reason through dependencies in response text. Write ONLY tasks with acceptance criteria to PLAN.md without rationale. The conversation preserves reasoning; the artifact preserves the plan.
Output constraint per contract token budgets.
Write the plan to .agentera/PLAN.md.
Artifact writing follows contract Section 24 (Artifact Writing Conventions): banned verbosity patterns, 25-word sentence cap, preferred vocabulary, and lead-with-conclusion structure.
# Plan: [Short Title]
<!-- Level: light | Created: YYYY-MM-DD | Status: active -->
## What
[One paragraph]
## Why
[Motivation and value]
## Constraints
- [What must not break]
- [What's out of scope]
## Acceptance Criteria
▸ GIVEN [context] WHEN [action] THEN [expected outcome]
▸ GIVEN [context] WHEN [action] THEN [expected outcome]
▸ ...
# Plan: [Short Title]
<!-- Level: full | Created: YYYY-MM-DD | Status: active -->
<!-- Reviewed: YYYY-MM-DD | Critic issues: N found, N addressed, N dismissed -->
## What
[Detailed description]
## Why
[Motivation, user impact, relationship to vision]
## Constraints
- [Architectural boundaries]
- [Off-limits modules]
- [Non-functional requirements]
## Scope
**In**: [what's included]
**Out**: [what's explicitly excluded]
**Deferred**: [what's saved for later]
## Design
[High-level approach: modules affected, interactions, key decisions.
NOT implementation details.]
## Tasks
### Task 1: [Title]
**Depends on**: none
**Status**: □ pending
**Acceptance**:
▸ GIVEN [context] WHEN [action] THEN [expected outcome]
▸ ...
### Task 2: [Title]
**Depends on**: Task 1
**Status**: □ pending
**Acceptance**:
▸ GIVEN [context] WHEN [action] THEN [expected outcome]
▸ ...
[Repeat for 3-8 tasks]
<!-- Test tasks: include a proportionality target in Acceptance.
Default: "1 pass + 1 fail per testable unit."
Override with rationale when complexity warrants more. -->
## Overall Acceptance
▸ GIVEN [context] WHEN [action] THEN [expected outcome]
▸ ...
## Surprises
[Empty; populated by realisera during execution when reality diverges from plan]
/realisera to execute the next pending task in the plan./orkestrera to execute the entire plan across multiple cycles.When PLAN.md has pending tasks, realisera's Step 2 changes:
Status: □ pending whose dependencies are all Status: ■ complete■ complete in PLAN.md## Surprises sectionskipped with a note
and pick the next eligible taskWhen all tasks are complete (or the plan is explicitly discarded):
.agentera/archive/PLAN-{date}.md.agentera/PLAN.mdReport one of these statuses at workflow completion:
Format: ─── ≡ planera · status ─── followed by a summary sentence.
For flagged, stuck, and waiting: add ▸ bullet details below the summary.
Planera is part of a twelve-skill suite. It is the bridge between deliberation and execution.
When resonera's deliberation concludes with a decision to build something, the natural next step is /planera to plan the work. DECISIONS.md provides the "why" context that planera reads during its Orient step.
PLAN.md's tasks become realisera's work queue. Each task's acceptance criteria become the cycle's exit conditions. Realisera updates task status and logs surprises. When the plan completes, realisera resumes vision-driven work selection.
When a plan includes optimization-shaped tasks (improving a measurable metric), those tasks can be delegated to optimera. The plan's acceptance criteria inform the optimization objective.
HEALTH.md findings can trigger remediation plans. When inspektera reveals structural issues, planera can produce a focused plan to address them, with acceptance criteria that inspektera can later verify were met.
The decision profile calibrates planning depth and pattern preferences. High-confidence entries about architecture, scope discipline, and quality standards weight the plan's constraints and acceptance criteria.
When inspirera's analysis recommends adopting patterns or libraries, planera can incorporate those recommendations into the plan's design section and task decomposition.
VISION.md provides the north star that planera reads during its Orient step. When visionera creates or refines the vision, planera's next planning session aligns with the updated direction.
In the strict DTC pipeline, dokumentera writes intent docs first, then planera decomposes them into implementation tasks. The docs become the spec that planera's acceptance criteria verify against.
Planera reads the versioning block from DOCS.md Conventions (populated by dokumentera). When the plan's scope includes feat or fix work, planera appends a version bump task that depends on all other tasks. Realisera executes this bump at the end of the plan.
/resonera: deliberate on what to build and why (produces DECISIONS.md entry)/planera: plan how to build it (produces PLAN.md)/realisera (next task) or /orkestrera (full plan): execute/inspektera: audit codebase health (produces HEALTH.md)/planera: plan fixes for critical findings (produces PLAN.md)/realisera: execute the fixesIf realisera logs multiple surprises in PLAN.md, the plan may need revision:
/planera: reassess tasks, reorder, add/remove as needed/realiseraFor trivial work, planera will detect skip level and tell you to run /realisera directly. No overhead for bug fixes and single-file changes.
data-ai
The open protocol for turning AI agents into engineering teams. One Agentera skill with twelve capabilities, each defined by human-readable prose and machine-readable schemas. The agent reads this file to route incoming requests to the right capability. Use this skill for /agentera, Agentera capability requests, and a complete user message exactly `hej`; bare `hej` runs the agentera prime orientation dashboard path instead of a generic greeting.
tools
Legacy Agentera v1 explicit /hej bridge. Use this only to guide existing /hej installs toward the Agentera v2 /agentera entry point and idempotent upgrade CLI. Do not use this skill for bare text `hej`; route that through the bundled agentera skill and the agentera hej dashboard path.
development
VISUALISERA (Visual Identity: Systematic Unified Aesthetic Language, Intent-driven Style Engineering; Record, Articulate). ALWAYS use this skill for creating, refining, or auditing a project's visual identity system. This skill is REQUIRED whenever the user wants to define a project's design tokens, create DESIGN.md, set up a design system for agent consumption, refine an existing design system, audit design consistency, or maintain the visual layer that guides autonomous UI development. Do NOT create DESIGN.md without this skill when it is installed. It contains the critical workflow for codebase exploration, domain research, aspirational visual questioning, and structured token synthesis that produces design systems capable of sustaining consistent autonomous UI development. Trigger on: "visualisera", "create design system", "write DESIGN.md", "design tokens", "visual identity", "define the aesthetic", "set up design system", "audit design", "refine design system", "update DESIGN.md".
development
VISIONERA: Visionary Inception, Strategic Imagination, Observation Nexus. Explore, Refine, Articulate. ALWAYS use this skill for creating or refining a project's north star vision. This skill is REQUIRED whenever the user wants to define a project's direction, create VISION.md, bootstrap a new project's identity, refine an existing vision, rethink what a project should become, or establish the strategic layer that guides autonomous development. Do NOT create VISION.md without this skill when it is installed. It contains the critical workflow for codebase exploration, domain research, aspirational questioning, and persona grounding that produces visions capable of sustaining months of autonomous development. Trigger on: "visionera", "create a vision", "write VISION.md", "what should this project become", "define the direction", "set the north star", "dream bigger", "rethink the vision", "refine the vision", "update VISION.md", "bootstrap the project", or when realisera detects no VISION.md.