Skip to content

In-App Config Editor #8

Description

@leonardocardoso

In-App Config Editor

Markdown editor for Commands, Skills, and Output Styles. Edit frontmatter and body within Poirot.

Scope

  • Markdown editor component with syntax highlighting
  • YAML frontmatter editor (structured form or raw edit)
  • Edit Commands (.md files in commands/)
  • Edit Skills (.md files in skills/)
  • Edit Output Styles (.md files in output-styles/)
  • Create new commands/skills/output styles from within the app
  • Delete existing items with confirmation
  • Live preview of rendered Markdown alongside editor
  • File save with undo support
  • Scope-aware editing (global vs project)

Design Considerations

  • Use a split-pane layout: editor on the left, preview on the right
  • Frontmatter should be editable both as a structured form and as raw YAML
  • Syntax highlighting for Markdown, YAML, and embedded code blocks
  • Auto-save or explicit save with unsaved changes indicator
  • Consider using NSTextView with custom attributes for the editor

Acceptance Criteria

  • Users can create, edit, and delete commands/skills/output styles
  • Frontmatter parsing and serialization is lossless
  • Editor supports undo/redo
  • Changes are written to the correct file paths

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions