skills/realisera/SKILL.md
REALISERA (Relentless Execution: Autonomous Loops Iterating Software; Evolve, Refine, Adapt). ALWAYS use this skill for autonomous or continuous development of a project. This skill is REQUIRED whenever the user wants you to independently decide what to build and build it, evolve a project over time, run development cycles, or make autonomous progress on a codebase. Do NOT attempt autonomous development without this skill because it contains the critical workflow for vision-driven development, persona-grounded decisions, structured cycles, and safety rails that prevent wasted work. Trigger on: "realisera", "run a dev cycle", "evolve the project", "develop autonomously", "build the next feature", "keep building", "start building", "work on the project", "refine the vision", or setting up /loop for recurring development. Also trigger when the user has a codebase and wants you to independently decide what to work on.
npx skillsauth add jgabor/agentera realiseraInstall 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.
Relentless Execution: Autonomous Loops Iterating Software. Evolve, Refine, Adapt.
An autonomous development loop that evolves any software project one cycle at a time. Decisions grounded in the user's decision profile. Continuity lives in files, not memory.
Each invocation = one cycle. /loop handles recurrence.
Four files, bootstrapped if absent. VISION.md, TODO.md, and CHANGELOG.md at project root; PROGRESS.md in .agentera/.
| File | Purpose | Bootstrap |
|------|---------|-----------|
| VISION.md | North star. Direction, principles, aspirations. An evergreen constitution. | Via inline brainstorm session with the user (see below). |
| TODO.md | Tech debt, bugs, discrepancies. Things that need fixing. | # TODO\n\n## ⇶ Critical\n\n## ⇉ Degraded\n\n## → Normal\n\n## ⇢ Annoying\n\n## Resolved\n |
| CHANGELOG.md | Public change history. Version-level summaries for contributors. | # Changelog\n\n## [Unreleased]\n |
| PROGRESS.md | Operational cycle log. What happened each cycle. | # Progress\n\n then the first cycle entry. |
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 (VISION.md, TODO.md, .agentera/PROGRESS.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 (.agentera/DECISIONS.md, .agentera/HEALTH.md, .agentera/PLAN.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.
Evergreen. Created via brainstorm on first run, refined only when the user explicitly asks. Outside those two cases, the agent reads it but never writes it. A constitution, not a backlog. Typical structure:
# [Project Name]
## North Star
[The dream. What this software makes possible, not just what it does. Paint a
picture of the world where this project has succeeded. What does it feel like to
use? What changes for the people who have it? Be ambitious.]
## Who It's For
[Concrete personas. Not "developers" but specific people with specific days,
specific frustrations, specific workflows. Who reaches for this tool and why?]
## Principles
- [Core principles that guide every decision]
- [What to optimize for, what to resist]
## Direction
[Where this project is heading. The kind of capabilities it should grow toward.
Aspirational, not prescriptive.]
## Identity
[What this project IS as an entity: personality, voice, emotional register, naming.]
The vision must be ambitious enough to sustain months of development, personas concrete enough to resolve "who is this for?" debates, and direction clear enough to derive next steps from the gap between vision and codebase.
■ ## Cycle N · YYYY-MM-DD HH:MM
**What**: one-line summary of what shipped
**Commit**: <hash> <message>
**Inspiration**: what external source informed the approach (if any)
**Discovered**: issues or ideas found (also logged in TODO.md)
**Verified**: observed output from running the primary entrypoint against real project state, OR `N/A: <tag>` from the Section 20 allowlist, OR a free-form rationale of at least 8 words explaining why the change has no observable behavior
**Next**: what seems most valuable to work on next
**Context**: intent · constraints · unknowns · scope
The **Verified** field is mandatory for every cycle entry per contract Section 20, Reality Verification Gate. See Step 6 for how it is populated.
The "Next" field from the previous cycle is a suggestion, not a mandate. Re-evaluate fresh.
Public-facing change history. Keep-a-changelog format:
# Changelog
## [Unreleased]
### Added
- description
### Changed
- description
### Fixed
- description
## [version] · YYYY-MM-DD
### Added
- description
Realisera appends entries under ## [Unreleased] based on commit type: feat → Added, refactor/chore → Changed, fix → Fixed. On version bumps, promote the Unreleased section to a versioned heading.
This runs in two situations:
In all other cases, skip straight to the cycle.
The sharp colleague, here to build. Brief, focused conversation. One question at a time. Push for ambition: bigger than "a tool that does X." Ask the user to dream.
Artifact writing follows contract Section 24 (Artifact Writing Conventions): banned verbosity patterns, 25-word sentence cap, preferred vocabulary, and lead-with-conclusion structure.
When refining, read current VISION.md, show proposed changes with rationale, get confirmation before writing. After brainstorm, proceed to cycle 1 (or resume cycling).
Skill introduction: ─── ⧉ realisera · cycle N ───
Throughout the cycle, the sharp colleague is building: direct about what's happening, honest about what's not working, brief about what's routine. Structured outputs stay structured; the framing around them should read like a colleague's working notes.
Step markers: display ── step N/9: verb before each step.
Steps: orient, select, research, plan, dispatch, verify, commit, audit, log.
Read VISION.md, PROGRESS.md, TODO.md, and HEALTH.md in parallel. These reads are independent; issue all in a single response.
If PROGRESS.md has 3+ cycles, run the analytics script first:
python3 scripts/analyze_progress.py --progress PROGRESS.md --pretty
Outputs JSON with velocity, work type distribution, and suggestions. Use to inform work selection (e.g., no test cycles is a signal).
PROGRESS.md: what happened last cycle, what was suggested next
VISION.md: read ## Principles and ## Direction sections (skip full personas/history for orient)
TODO.md: what's broken or degraded
3b. HEALTH.md: read critical and degraded findings only (if exists)
3c. DECISIONS.md: read all entries (if exists). firm entries are hard constraints. provisional entries are strong defaults. Note any exploratory entries, as these are uncertain foundations that may need firming up before building on them.
Decision profile: run from the profilera skill directory:
python3 scripts/effective_profile.py
Apply confidence thresholds per contract profile consumption conventions. Read full profile from $PROFILERA_PROFILE_DIR/PROFILE.md (default: $XDG_DATA_HOME/agentera/PROFILE.md) for details when needed. <!-- platform: profile-path --> If missing, proceed without persona grounding but flag it.
Project discovery (cycle 1 or when unfamiliar):
git log --oneline -20 for recent changes
Before proceeding, list the 3-5 facts that determine this cycle.
Use VISION.md, PROGRESS.md, TODO.md, and HEALTH.md. These survive context compaction.
Also read the prior cycle's Context block from PROGRESS.md. It captures what the last cycle intended, what was uncertain, and what scope it expected to touch. Use this for cross-cycle continuity.
Exit-early guard (plan-driven mode only): If PLAN.md is done and no tasks were added, perform a plan-completion sweep before archiving.
This guard does NOT apply in vision-driven mode.
The plan-completion sweep closes the structural freshness gap that existed when the guard simply archived without running Step 8. Sweep checklist:
## Surprises, and the next milestone.## [Unreleased] covers each completed task's user-facing impact.
[Unreleased].If the plan contains a "Plan-level freshness checkpoint" task, its acceptance criteria are authoritative.
If the task is absent, perform the sweep on a best-effort basis. Warn on missing entries.
Only after the sweep completes does the guard archive PLAN.md to .agentera/archive/PLAN-{date}.md and report exit signal complete: plan finished. Do not proceed to Step 2.
Choose one focused increment. No backlog; decide by reasoning about the gap between vision and codebase, weighted against known issues.
Each cycle: build toward the vision, or fix something broken? Consult the decision profile. A critical bug trumps a new feature; a minor nit doesn't block progress.
Building toward vision: Read codebase + VISION.md, identify the gap, pick the smallest increment closing the most valuable part.
Fixing issues: Pick from TODO.md by severity (broken > degraded > annoying).
Optimization-shaped work: Delegate to /optimera for measurable metrics (speed, size,
coverage). Realisera builds; optimera tunes.
Write a 1-2 sentence rationale. Scope down aggressively.
Compose a Context block for this cycle: intent, constraints, unknowns, and scope.
Keep it ≤80 words. This is written to PROGRESS.md in Step 8.
Decision gate: After selecting work, check whether any exploratory entries in DECISIONS.md relate to the selected work area. If found: flag the uncertain foundation, suggest /resonera to firm up the decision, and note the risk in the cycle's Context unknowns field. In autonomous mode, proceed with the work but log the risk without hard-blocking. If no DECISIONS.md exists or no exploratory entries relate, this gate is a no-op.
Search for relevant external approaches before planning.
Goal: avoid reinventing wheels. If nothing useful turns up quickly, move on.
Write a concrete plan: what changes in which files, expected behavior, verification approach, and any inspiration that informed it.
Read files you plan to modify before committing to the plan. If docs should update first (docs define intent, code implements it), include that.
Keep small enough for one agent session. Too large? Split and save the rest for next cycle.
Pre-dispatch commit gate (per contract Section 23): before creating the worktree, commit any pending artifact changes so the subagent branches from current state.
git status --porcelain. If empty, the working tree is clean: skip to dispatch.git add .agentera/PLAN.md .agentera/PROGRESS.md). Do not use git add -A or git add ..chore(realisera): checkpoint before worktree dispatch. Do not pass --no-verify.Stale-base awareness: some harnesses create the worktree branch from origin/main rather than local HEAD.
Before dispatch, run git rev-list --count origin/main..HEAD. If count > 0, do not merge the worktree branch.
Fetch the sub-agent's diff and apply it to the main checkout. Re-run verification in the main checkout.
If the patch does not apply cleanly, diagnose the diverged file before committing.
Spawn an implementation sub-agent in a worktree (isolation: "worktree") <!-- platform: sub-agent-dispatch --> with:
Per-runtime substrate for the spawn:
[agents.<name>] entries in ~/.codex/config.toml, wired by python3 scripts/setup_codex.py --enable-agents./fleet recommendation.See orkestrera SKILL.md Runtime dispatch substrates for the full table.
You are implementing a focused change for [project].
## Task
[The plan]
## Constraints
- Implement ONLY what the plan describes. No scope creep.
- Follow existing code patterns and conventions.
- Read the files you are modifying before changing them.
- If docs need updating, update them before the code.
- Verify the change works as described, then run the project's test/build suite.
- If you encounter a bug unrelated to your task, note it but do not fix it.
For non-trivial design decisions, spawn a design sub-agent first, then an implementation sub-agent. Wait for all dispatched agents to complete before proceeding.
Verification has two phases per contract Section 20: structural and behavioral.
Both must pass before commit. Passing tests alone is not enough evidence.
Dispatch boundary: if Step 5 dispatched a worktree sub-agent, verify in realisera's main checkout after merge. <!-- platform: sub-agent-dispatch -->
The sub-agent implements; realisera verifies. Dispatched agents cannot self-attest verification.
Phase A, structural verification: After implementation completes:
check, ci, test, or verify target first (Makefile, mage,
package.json scripts, taskfile, justfile)go test ./... && go vet ./...
Node: npm test
Python: pytest
Rust: cargo test && cargo clippyPhase B, behavioral verification (Reality Verification Gate): Once structural verification is green, observe the new behavior by running the project's primary entrypoint against real project state. The primary entrypoint depends on the project archetype per contract Section 20:
python3 scripts/eval_skills.py --skill <name>)Projects outside this list carry a verification_entrypoint key in .agentera/DOCS.md.
If verification_budget is exhausted, use **Verified**: partial (budget hit).
Note what was attempted, observed, and left unverified.
Capture the observation: a short transcript (stdout/stderr snippets), exit code, or summary of what happened. The transcript should be concrete enough that a reader can tell whether the behavior actually happened. This capture populates the **Verified** field in the PROGRESS.md cycle entry written in Step 8.
N/A path: If the cycle has no runnable behavior change, populate **Verified** with N/A: <tag> using exactly one of the five enumerated allowlist tags from Section 20:
docs-only: the change touched only documentation with no code path affectedrefactor-no-behavior-change: the change restructured code but preserved observable behavior exactlychore-dep-bump: the change updated a dependency version without modifying code that calls it differentlychore-build-config: the change modified build tooling, linter configuration, or packaging metadatatest-only: the change added or adjusted tests without modifying the code under testAny N/A justification outside the allowlist must be at least 8 words.
It must explain why the change has no observable behavior.
Runnable work still requires observed output.
If verification fails (structural or behavioral):
Once verified, commit with a conventional commit message:
type(scope): summary
feat, fix, docs, refactor, chore, testIf the current task is a version bump (e.g., a PLAN.md task labeled "Version bump per DOCS.md convention", or a version-staleness finding picked up from TODO.md): read DOCS.md for the versioning section. It lists version_files (files to update) and semver_policy (how to determine the bump level from conventional commit types). Update every file in version_files to the new version number, then include those files in the commit. If DOCS.md has no versioning section, skip version management entirely.
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..."
Dual-write: realisera maintains two change records, .agentera/PROGRESS.md (operational cycle detail for consuming skills) and CHANGELOG.md (public summary for project contributors).
## Resolved section via the script. Run: python3 ${AGENTERA_HOME:-$CLAUDE_PLUGIN_ROOT}/scripts/compact_artifact.py todo-resolved <path-to-TODO.md>.**Verified** field is mandatory per contract Section 20; it carries either Step 6's observed output from the primary entrypoint, an allowlisted N/A: <tag>, or a free-form rationale of at least 8 words. Write the entry like a colleague's quick debrief: what happened, what surprised you, what's next. Not a form submission.
Output constraint per contract token budgets.## [Unreleased] in the appropriate subsection: feat → Added, refactor/chore → Changed, fix → Fixed. Concise description, not the commit message verbatim.After appending a new cycle to PROGRESS.md, compact older entries via the script. Run: python3 ${AGENTERA_HOME:-$CLAUDE_PLUGIN_ROOT}/scripts/compact_artifact.py progress <path-to-PROGRESS.md>.
Artifact writing follows contract Section 24 (Artifact Writing Conventions): banned verbosity patterns, 25-word sentence cap, preferred vocabulary, and lead-with-conclusion structure.
Then stop. One cycle complete.
If blocked (ambiguous requirement, missing dependency, decision too consequential):
Report one of these statuses at workflow completion:
Format: ─── ⧉ realisera · status ─── followed by a summary sentence.
For flagged, stuck, and waiting: add ▸ bullet details below the summary.
Before reporting any status, inspect the last 3 entries in PROGRESS.md. If all 3 entries record failed cycles (commits that were reverted, cycles that logged a blocker and pivoted 3 times consecutively, or cycles whose "Discovered" field logs the same issue that was supposed to be fixed), this constitutes 3 consecutive failures: stop, log the failure pattern to TODO.md with what was attempted and what the skill believes is wrong, and surface the situation to the user with a recommended course of action (e.g., "/resonera to deliberate on the approach", "manual investigation needed", "dependency missing"). Do not attempt a 4th consecutive cycle on the same failing problem.
Realisera is part of a twelve-skill suite. Each skill can invoke the others when the work calls for it.
When visionera is installed and VISION.md doesn't exist, suggest /visionera for deep vision creation instead of running the built-in quick brainstorm. If visionera is NOT installed, the built-in brainstorm works as a standalone fallback. When the user asks to refine the vision, defer to /visionera if installed. Both skills produce the same VISION.md format.
When the picked work is optimization-shaped (improving a measurable metric like test performance, bundle size, latency, or coverage), delegate to optimera instead of implementing directly. Realisera provides the context; optimera runs the metric-driven experiment loop.
In Step 3 (Seek inspiration), search for external approaches the way /inspirera would: read the source deeply, extract transferable patterns, note the source for credit in PROGRESS.md. For deeper analysis, run /inspirera <url> directly.
Every cycle runs the effective profile script (python3 scripts/effective_profile.py from the profilera skill directory) to get a confidence-weighted summary table. Confidence thresholds per contract profile consumption conventions determine which entries are strong constraints vs suggestions. Full rules are read from $PROFILERA_PROFILE_DIR/PROFILE.md (default: $XDG_DATA_HOME/agentera/PROFILE.md) when needed for detailed reasoning about trade-offs and priorities. <!-- platform: profile-path -->
When the brainstorm session or work selection surfaces a decision too complex for inline resolution (competing architectural approaches, ambiguous scope, or consequential tradeoffs), suggest /resonera to deliberate first. Resonera can produce or refine VISION.md directly, and its DECISIONS.md entries give realisera reasoning context for future cycles. If DECISIONS.md exists, read it during the Orient step for context on prior deliberations.
When PLAN.md exists with □ pending tasks, realisera's Step 2 (Pick work) reads the plan instead of reasoning from the vision. Pick the next □ pending task with satisfied dependencies. Use the task's behavioral acceptance criteria as exit conditions. After committing, use the Edit tool to update the task's status to ■ complete (targeted edit, not full file rewrite). If reality diverges from the plan, add a Surprise entry. When all tasks are complete, archive PLAN.md to .agentera/archive/ and resume vision-driven work selection.
DOCS.md provides artifact path resolution that realisera checks before reading or writing any artifact. In the DTC pipeline, dokumentera writes intent docs that feed planera, which feeds realisera.
DESIGN.md provides visual identity context (design tokens, constraints) that realisera respects when building user-facing features.
HEALTH.md findings filed to TODO.md become candidates for work selection. Run /inspektera every 5-10 cycles to ensure forward progress isn't accumulating structural debt. If HEALTH.md exists, read its latest grades during the Orient step. Poor grades signal that structural fixes should be prioritized over new features.
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.