Skip to main content

Skills

Skills are reusable procedures that agents load to perform specific tasks. They provide structured approaches and consistent behavior across sessions.

Available Skills

SkillUsed ByPurpose
approach-evaluationcoder, orchestrationEvaluate implementation alternatives before coding
code-reviewreviewerStructured code review with verdicts
code-validationorchestrationType check, lint, and test validation
test-generationtest-writerFramework-aware test writing
systematic-debuggingdebuggerRoot cause analysis methodology
researching-topicsresearcherMulti-source documentation research
brainstormingplanStrategic planning and approach evaluation
docs-generatordocs-generatorGenerate /docs for Notion sync
README-generatorreadme-generatorGenerate project README
directives-advisororchestrationHelp configure directives
system-discoveryorchestrationDiscover project tooling and architecture
project-statusorchestrationCheck Era governance and git status
hosted-appsorchestrationDeploy apps to *.era.computer

Implementation Pipeline Skills

Approach Evaluation

Evaluates 2-3 implementation alternatives before coding non-trivial features.

When used: Before implementing features that touch 3+ files or have multiple valid approaches.

Output:

  • 2-3 approaches with descriptions
  • Evaluation on: complexity, risk, alignment, testability
  • Selected approach with rationale

Skipped when:

  • Change is < 20 lines or single file
  • User specified the exact approach
  • Bug fix with identified root cause

Code Review

Produces structured APPROVE/REJECT verdicts with findings.

Review dimensions:

  • Correctness — logic, edge cases, error handling
  • Style — naming, formatting, patterns
  • Security — secrets, injection, validation
  • Tests — coverage, assertions, independence
  • Architecture — layers, separation, abstractions

Finding severities:

  • BLOCKER — Must fix. Any blocker = REJECT.
  • WARNING — Should fix. 3+ warnings = REJECT.
  • SUGGESTION — Nice to have. Never causes rejection.

Code Validation

The "Iron Law" — no code returns without validation first.

Phases:

  1. Discovery — Detect project tooling (test framework, linter, type checker)
  2. Validate — Run type check → lint → targeted tests → full test suite
  3. Fix — Address failures (max 3 attempts)
  4. Report — Structured pass/fail output

Supported frameworks:

  • Jest, Vitest, Playwright, Mocha (JavaScript/TypeScript)
  • pytest, unittest (Python)
  • cargo test (Rust)
  • go test (Go)

Test Generation

Framework-aware test writing that matches existing project patterns.

Process:

  1. Detect test framework from existing tests
  2. Analyze existing test patterns (describe/it structure, mocking, assertions)
  3. Plan coverage (happy path, errors, edge cases)
  4. Generate tests matching project style
  5. Run tests to verify they pass

Principles:

  • Test behavior, not implementation
  • One behavior per test
  • Minimal mocking (mock at boundaries only)
  • Independent tests (no shared state)

Using Skills

Agents load skills automatically based on their instructions. The orchestration agent coordinates which agents (and thus which skills) are invoked based on the task.

Skills are deployed to .era/resources/opencode/skill/ during era-code init and can be customized per project.

Slash Commands

Several slash commands invoke skills directly:

CommandSkill / AgentPurpose
/era-validatecode-validationRun validation on project
/era-debugsystematic-debuggingStart debugging session
/era-researchresearching-topicsResearch a topic
/era-planbrainstormingStrategic planning
/era-readmeREADME-generatorGenerate README
/decision-logorchestrationLog decision + risk assessment to Google Sheets
/linear-createplanCreate Linear projects or issues from context
/era-deployorchestrationDeploy to *.tools.era.computer