Skip to content
Back to skills

Mermate Tab Idea

ASecurity

Stage 1 tab (Simple Idea) of the Mermate pipeline — raw idea intake, AI enhancement, voice transcription, and the Idea → Markdown transition. Use when editing idea-stage UI, the enhance/copilot path, voice input, or the /api/analyze and /api/copilot/enhance endpoints.

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 11, 2026
ai-agentsnodeapifrontendbackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add DylanCkawalec/Mermate --skill mermate-tab-idea --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mermate Tab Idea?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mermate Tab Idea
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dylanckawalec-mermate-tab-idea/badge)](https://www.skillsdirectory.com/skills/dylanckawalec-mermate-tab-idea)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mermate-tab-idea
description: Stage 1 tab (Simple Idea) of the Mermate pipeline — raw idea intake, AI enhancement, voice transcription, and the Idea → Markdown transition. Use when editing idea-stage UI, the enhance/copilot path, voice input, or the /api/analyze and /api/copilot/enhance endpoints.
---

# Mermate Tab 1 · Simple Idea (idea)

Operates under `mermate` master invariants; Lamport standards via `specification-master-agent`.

## Stage Identity (from `STAGE_REGISTRY.idea`, public/js/mermaid-gpt-app.js)
- Label: **Simple Idea** · reveal: `STAGE 1 · IDEA` · color `#fbbf24`
- Expected duration: ≈5–15s · enhance default: ON · no file upload
- **IPO contract**:
  - Input: raw text dump — ideas, notes, speech
  - Process: copilot profile analysis + AI enhancement
  - Output: refined idea, ready for Markdown structuring

## Owning Code
- Frontend: `public/js/mermaid-gpt-app.js` (idea input config, ⌘⏎ enhance, tab-completion suggestion)
- Backend: `server/routes/render.js` — `POST /api/analyze` (input profile), `POST /api/copilot/enhance` (enhance proxy, lines 188–231), `GET /api/copilot/health`
- Voice: `server/routes/transcribe.js` — `POST /api/transcribe` (OpenAI Whisper, requires `MERMATE_AI_API_KEY`)
- Classification: `server/services/input-router.js` → content_state `text | hybrid`

## Stage Invariants
1. Idea input never blocks on enhancement — enhance failure degrades to raw text, never to a stuck tab.
2. Enhancement is advisory: the user's original text remains recoverable (animate/transition only when `data.enhanced && data.compiled_source`).
3. Voice input lands as plain idea text; transcription failure surfaces as an error toast, not silent loss.

## Anti-Patterns (Reject)
- Inventing client-side classification that duplicates `input-router.js` / `MermaidClassifier`.
- Letting the enhancer proxy's latency or failure gate the render path.
- Adding upload UI to this tab (registry says `showUpload: false` — deliberate).

## Verification
- `npm run test:fast`; touch classifier logic → `node --test test/test-classifier.js`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.