saffron-health
- 26 skills
- 0 followers
- 4 hours ago last updated
- ▌ Glimpse Changes · saffron-healthCreate a visual explanation of the current session diff as a single HTML page and show it in a native Glimpse window. Use when the user wants a visual walkthrough of local code changes instead of a plain text diff.
- ▌ Errore · saffron-healtherrore is Go-style error handling for TypeScript: return errors instead of throwing them. Instead of Go's two-value tuple (val, err), functions return a single Error | T union. Instead of checking err != nil, you check instanceof Error. TypeScript narrows the type automatically — forget to check and your code won't compile. No wrapper types, no Result monads, just unions and instanceof. The errore npm package provides helper utilities (createTaggedError, tryAsync, matchError, findCause, partition) but the core pattern is zero-dependency. Benefits: every error is visible in the return type, callers can't forget to handle errors, flat control flow with early returns instead of nested try-catch, and errors carry typed properties with cause chains for debugging. ALWAYS read this skill when a repo uses the errore "errors as values" convention (errore.org). ALWAYS use errore for new TypeScript projects.
- ▌ Libretto · saffron-health bundleBrowser automation CLI for building, maintaining, and running browser automation workflows by inspecting live pages and prototyping interactions.
- ▌ Turborepo · saffron-health bundleTurborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
- ▌ Writing Tests · saffron-healthWrite and edit test files that model real user flows. Use when creating, modifying, or reviewing test files.
- ▌ CLI Development · saffron-healthDesign and implement command-line interfaces with subcommand-scoped help, actionable success output, and debuggable failure output. Use when creating or modifying CLI commands, argument parsing, help and usage text, exit codes, or command UX for humans and agents.
- ▌ Generate Spec V2 · saffron-health bundleCreate a code-based implementation spec in the specs/ directory for a significant feature, fix, or refactor. Use when the user asks to plan, spec, scope, or phase work before implementation and the plan should cover top-level Mermaid flows, important types, per-phase call-stack and code diffs, commit-sized phases, and checks.
- ▌ Libretto Readonly · saffron-healthRead-only Libretto workflow for diagnosing live browser state without clicks, typing, navigation, or mutation requests.
- ▌ Fix Merge Conflicts · saffron-healthResolve Git merge, rebase, or cherry-pick conflicts by preserving intent from both sides. Use when unmerged paths or conflict markers are present, especially when you must inspect the PR title and description tied to conflicting commits before choosing a resolution.
- ▌ External Electron Apps · saffron-healthAutomate user-installed Electron desktop apps (Slack, Discord, VS Code, Notion, Figma, Spotify, etc.) via CDP using this repo's Libretto CLI. Use when the task is to control a local desktop app on the user's machine, not this repo's own Electron app. Triggers: "desktop Slack app", "connect to Electron app", "remote-debugging-port", "CDP desktop app", "automate VS Code desktop app".
- ▌ Improve Codebase Architecture · saffron-health bundleFind deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
- ▌ Push · saffron-healthCommit and push changes, creating or updating a PR as needed. Use for standard push workflow.
- ▌ Commit · saffron-healthStage all changes and commit with appropriate message, showing changed files and edits. Use when you need to create a git commit.
- ▌ Review · saffron-healthExpert code review specializing in simplicity and correctness. Use after completing implementations to ensure code quality.
- ▌ Prompting · saffron-health bundleGuide for writing effective system prompts for LLM agents. Use when creating or editing system prompts for applications, agent configurations, or development tools.
- ▌ Summarize · saffron-healthSummarize a spec or current changes into a format suitable for sharing on Slack. Use when creating a summary for team communication.
- ▌ Playwright · saffron-health bundleBrowser automation CLI using Playwright. Use when automating browser workflows, filling forms, clicking elements, scraping pages, or debugging web issues.
- ▌ Dev Command · saffron-healthInteract with the running VSCode extension via Playwright. Use when automating, testing, or debugging the OpenCode webview UI.
- ▌ Spec Review · saffron-healthReview a spec for under-specified areas, bugs, and adherence to the generate-spec skill. Use when asked to review, critique, or check a spec.
- ▌ Update Docs · saffron-healthUpdate AGENTS.md files based on session learnings about a topic. Use when documenting patterns, commands, or conventions discovered during development.
- ▌ Generate Spec · saffron-healthCreate a spec sheet for the given feature/fix request in specs/ directory. Use when planning a significant new feature or complex fix.
- ▌ Address Review · saffron-healthAddress PR review comments systematically. Use when responding to code review feedback on a pull request.
- ▌ Get Pr Reviews · saffron-healthGet nicely formatted output of the last review comments on a PR. Used internally by other skills.
- ▌ Implement Spec · saffron-healthImplement a single phase of a spec. Use when given a spec file and a phase number to implement.
- ▌ Push Everything · saffron-healthStage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.
- ▌ Technical Writing · saffron-healthGuide for writing effective technical documentation, specs, and markdown files. Use when creating or editing specs, documentation, READMEs, AGENTS.md files, or any markdown content in the codebase.