Agent skill

ring:lerian-map-management

Manage the Lerian Map platform — maintain products, features, iterations, and delivery roadmaps via REST API. Enforces Lerian naming/tagging standards, keeps map data in sync with repository activity, and supports TPMs/PMs in keeping the map 100% accurate.

Stars 169
Forks 18

Install this agent skill to your Project

npx add-skill https://github.com/LerianStudio/ring/tree/main/pm-team/skills/lerian-map-management

SKILL.md

Lerian Map Management

Core Rules

  1. API only — never scrape or browser-automate the Lerian Map UI.
  2. Standards first — apply naming, language, and tagging conventions before writing.
  3. Evidence before status — only update feature status when backed by repo evidence (PR merged, commit, release).
  4. Sync is two-way — map updates may trigger PR descriptions; PR activity may trigger map status updates.

API Quick Reference

Connectivity: map.clotilde.lerian.net is on the internal Clotilde server — Tailscale must be active or all requests will fail (timeout / DNS not resolving).

Base URL: https://map.clotilde.lerian.net/api Auth: Authorization: Bearer $API_KEY

bash
API_KEY=$(security find-generic-password -a gandalf -s lerian-map-api-key -w)
Entity List Create Update Delete
Products GET /products POST /products PUT /products/{id} DELETE /products/{id}
Features GET /features?productId=&status=&iterationId= POST /features PUT /features/{id} DELETE /features/{id} (soft)
Iterations GET /iterations POST /iterations PUT /iterations/{id} DELETE /iterations/{id} (soft)

Import delivery roadmap:

bash
curl -s -X POST https://map.clotilde.lerian.net/api/features/{id}/import-roadmap \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"markdown": "<roadmap content>", "startDate": "YYYY-MM-DD", "endDate": "YYYY-MM-DD"}'

Naming & Description Standards

Language

  • All product and feature names: English only.
  • Descriptions: English only.
  • Exception: client-facing labels explicitly requested in Portuguese.

Product Names

Format: <Domain> - <Capability> or a single noun when unambiguous. Examples: Midaz Console, Plugin PIX, Fees, Reporter.

Feature Names

Format: imperative action phrase — concise, no filler words.

  • Balance Update Refactor, Multi-Tenant RabbitMQ, Rate Limit Middleware
  • feat: add new feature for X, improve the X thing, WIP: balance

Max length: 80 characters.

Descriptions

  • Max 500 characters (API enforced).
  • One sentence of context + one sentence of outcome.
  • No internal jargon, ticket IDs, or Slack thread references.

Tags — PR/Commit Binding

To enable automatic status sync via Ring agents, PRs and commits must reference the map feature ID in the title or body:

feat(reporter): add dashboard with reminders [map:#18]

Tag format: [map:#<featureId>] — include in PR title or first line of body. This allows Ring's delivery-status-tracking to auto-match PRs to features without manual input.


Feature Status Lifecycle

Status Meaning Evidence Required
planned Scoped, not started Feature created, no PRs
in_progress Active development Open PR or commits on feature branch
completed Shipped PR merged to main/master or release tag
delayed Past endDate, not completed endDate passed + no completion evidence

Never mark completed without a merged PR or release as evidence.


Iteration Standards

  • Name format: Sprint YYYY-MM-DD / YYYY-MM-DD (start/end of the iteration window).
  • Alternatively: Q1 2026 · Wave 1 for quarterly cadences.
  • All active features must have an iterationId assigned. Features without iteration = scheduling debt.

Delivery Plan Standards

When importing a delivery roadmap (/import-roadmap), the markdown must follow the format from ring:pre-dev-delivery-planning. Key requirements:

  • Each task must have: name, owner, planned start, planned end, dependencies.
  • Dates must be ISO 8601 (YYYY-MM-DD).
  • Include a Taura Security window if the feature touches auth, payment flows, or external APIs. Example entry:
markdown
### Taura Security Review
- Owner: Security (Taura)
- Start: YYYY-MM-DD
- End: YYYY-MM-DD
- Depends on: [implementation tasks]

Adjust endDate on the feature to account for the Taura window — never ship before security sign-off.


Console Product — Special Rule

The Lerian Console is a transversal product: its features are owned and developed by the domain teams (Midaz, PIX, Reporter, etc.), not a dedicated Console team.

When creating Console features in the map:

  • Set productId to the Console product ID.
  • Set repositoryPath to the owning team's repo (e.g., LerianStudio/midaz-console).
  • Feature name must reflect the domain: Console: Balance Visualization not just Balance Visualization.

Never register a Console subproduct or plugin as a standalone product — it creates duplicate tracking and breaks portfolio visibility.


Map Health Check

Run periodically (weekly or before weekly/planning meetings) to surface gaps:

bash
API_KEY=$(security find-generic-password -a gandalf -s lerian-map-api-key -w)

# Features with no iteration assigned
curl -s -H "Authorization: Bearer $API_KEY" \
  "https://map.clotilde.lerian.net/api/features" \
  | jq '[.[] | select(.iterationId == null and .status != "completed")]'

# Features past endDate still in_progress or planned
TODAY=$(date +%Y-%m-%d)
curl -s -H "Authorization: Bearer $API_KEY" \
  "https://map.clotilde.lerian.net/api/features" \
  | jq --arg today "$TODAY" \
    '[.[] | select(.endDate != null and .endDate < $today and (.status == "planned" or .status == "in_progress"))]'

Report format (post to #product-team or weekly digest):

  • Features with no iteration: list with owner
  • Delayed features: list with days overdue, last known PR activity
  • Features with no description: list
  • Features with no [map:#id] tag on any linked PR: list

Workflow: Adding a New Feature

  1. Confirm product exists — GET /products, match by name.
  2. Apply naming standard (English, imperative, ≤80 chars).
  3. Write description (context + outcome, ≤500 chars).
  4. Set status: planned, assign iterationId if sprint is known.
  5. Set startDate / endDate from delivery plan.
  6. Set repositoryPath to the owning repo.
  7. POST /features — capture returned id.
  8. Notify owning team to add [map:#<id>] to their PRs.

Workflow: Updating Feature Status from PRs

  1. Read PR title + body for [map:#<id>] tag.
  2. Fetch feature: GET /features/{id}.
  3. Map PR state → feature status:
    • PR open → in_progress
    • PR merged → completed (set endDate to merge date if not already set)
    • PR closed without merge + no other open PRs → back to planned
  4. PUT /features/{id} with new status (and endDate if completing).

Workflow: Import Delivery Roadmap

  1. Fetch delivery roadmap markdown from repo (docs/pre-dev/<feature>/delivery-roadmap.md).
  2. Ensure Taura window is present if applicable.
  3. POST /features/{id}/import-roadmap with markdown + dates.
  4. Verify import: GET /features/{id} — confirm startDate / endDate reflect plan.
  5. Update feature status to in_progress if development has started.

Expand your agent's capabilities with these related and highly-rated skills.

LerianStudio/ring

ring:regulatory-templates

5-stage regulatory template orchestrator - manages setup, Gate 1 (analysis + auto-save), Gate 2 (validation), Gate 3 (generation), optional Test Gate, optional Contribution Gate. Supports any regulatory template (BACEN, RFB, CVM, SUSEP, COAF, or other).

169 18
Explore
LerianStudio/ring

ring:using-finops-team

3 FinOps agents: 2 for Brazilian financial regulatory compliance (BACEN, RFB, Open Banking), 1 for infrastructure cost estimation when onboarding customers. Supports any regulatory template via open intake system.

169 18
Explore
LerianStudio/ring

ring:regulatory-templates-gate1

Gate 1 sub-skill - performs regulatory compliance analysis, field mapping, batch approval by confidence level, and auto-saves dictionary after approval. Supports both pre-defined templates (dictionary exists) and new templates (any spec).

169 18
Explore
LerianStudio/ring

ring:regulatory-templates-gate2

Gate 2 sub-skill - validates uncertain mappings from Gate 1 and confirms all field specifications through testing.

169 18
Explore
LerianStudio/ring

ring:regulatory-templates-gate3

Gate 3 sub-skill - generates complete .tpl template file with all validated mappings from Gates 1-2.

169 18
Explore
LerianStudio/ring

ring:infrastructure-cost-estimation

Orchestrates infrastructure cost estimation with tier-based or custom TPS sizing. Offers pre-configured tiers (Starter/Growth/Business/Enterprise) or custom TPS input. Skill discovers components, asks shared/dedicated for EACH, selects environment(s), reads actual Helm chart configs, then dispatches agent for accurate calculations.

169 18
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results