Agent SkillsAgent Skills
Spectaculous-Code

core-ux-detective

@Spectaculous-Code/core-ux-detective
Spectaculous-Code
0
0 forks
Updated 4/13/2026
View on GitHub

Discover, define and canonicalize the core user tasks and user paths of the application. Use when (1) mapping what users can actually do in the app, (2) defining canonical user journeys/flows, (3) creating the AI-readable user model (core-user-model.json), (4) reviewing whether a new feature introduces a new core path, (5) other skills (help, marketing, onboarding) need authoritative task/path definitions to consume. Triggers: "core tasks", "user paths", "user journeys", "UX model", "what can users do", "core flows", "user model", "canonical tasks", file types: core-user-model.json.

Installation

$npx agent-skills-cli install @Spectaculous-Code/core-ux-detective
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/core-ux-detective/SKILL.md
Branchmain
Scoped Name@Spectaculous-Code/core-ux-detective

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: core-ux-detective description: > Discover, define and canonicalize the core user tasks and user paths of the application. Use when (1) mapping what users can actually do in the app, (2) defining canonical user journeys/flows, (3) creating the AI-readable user model (core-user-model.json), (4) reviewing whether a new feature introduces a new core path, (5) other skills (help, marketing, onboarding) need authoritative task/path definitions to consume. Triggers: "core tasks", "user paths", "user journeys", "UX model", "what can users do", "core flows", "user model", "canonical tasks", file types: core-user-model.json.

Core UX Detective

Discover and canonicalize the TRUE core user tasks and user paths.

This skill is the single source of truth for what users can do in the application. Other skills (help, marketing, onboarding) MUST consume this output and MUST NOT redefine core tasks or paths independently.

Authority

  • ONLY this skill identifies core user actions
  • ONLY this skill defines user paths
  • ONLY this skill names steps canonically
  • ONLY this skill decides primary vs secondary flow

Workflow

1. Gather Inputs

Collect from any available source:

  • Codebase: Routes, pages, components, hooks (especially src/pages/, src/components/)
  • PRD: Docs/01-PRD.md
  • Feature lists: Docs/context/packages-map.md, Docs/context/repo-structure.md
  • Existing model: Docs/ai/core-user-model.json (if it exists)
  • UI screenshots or verbal descriptions from user

2. Identify Core User Tasks

Extract user-facing actions. Rules:

  • User-facing only β€” not technical internals (no "hydrate cache", "run migration")
  • Clear, neutral language β€” no marketing ("revolutionary") or help tone ("click here")
  • Finnish labels β€” this is a Finnish-first app; use Finnish for label
  • Conservative β€” fewer well-defined tasks > many vague tasks

Each task needs:

{
  "id": "snake_case_stable_id",
  "label": "Finnish label",
  "intent": "Why the user does this (English)",
  "appears_in": ["page_or_context_ids"],
  "draft": false
}

Mark "draft": true if uncertain about the task's scope or permanence.

3. Define User Paths

Group tasks into meaningful journeys. Each path:

  • Has a clear user intent
  • Has ordered steps (referencing task IDs)
  • Has a beginning and an end
  • Is explicitly defined (overlapping steps between paths is fine)
{
  "id": "path_snake_case",
  "label": "Finnish path label",
  "intent": "What the user accomplishes (English)",
  "primary": true,
  "steps": ["task_id_1", "task_id_2", "task_id_3"]
}
  • primary: true = core journey most users follow
  • primary: false = secondary/power-user flow

4. Output Schema

Save to Docs/ai/core-user-model.json:

{
  "$schema": "core-user-model-v1",
  "updated": "YYYY-MM-DD",
  "core_tasks": [ ... ],
  "user_paths": [ ... ]
}

5. Validate

After writing the model:

  • Every step in user_paths[].steps must reference a valid core_tasks[].id
  • No orphan tasks (every task appears in at least one path, or is marked draft)
  • No duplicate IDs
  • Labels are Finnish, intents are English

Rules

  • Conservative: fewer paths > many vague paths
  • Clarity over completeness: a well-defined subset beats a fuzzy comprehensive list
  • Stable IDs: once an ID is published, do not rename it (add new, deprecate old)
  • No marketing or instructional text in the model
  • Draft flag: if unsure, set "draft": true β€” other skills skip draft items

Discovery Strategy

When analyzing the codebase to find core tasks:

  1. Routes β€” each route = potential user task or context
  2. Page components β€” what actions does each page enable?
  3. Hooks with user state β€” useAuth, useReelDraft, useBookmarks etc. reveal capabilities
  4. UI action buttons β€” buttons/links with Finnish labels reveal user-facing actions
  5. Database tables with user_id β€” each user-owned table hints at a core task

For detailed discovery patterns, see references/discovery-patterns.md.

Consuming the Model

Other skills read Docs/ai/core-user-model.json and:

  • Use core_tasks[].id as canonical references
  • Use core_tasks[].label for Finnish UI text
  • Use user_paths for onboarding flows, help guides, marketing funnels
  • Never redefine or rename tasks β€” request changes via this skill

More by Spectaculous-Code

View all
landing-page-architect
0

Product marketing and landing page architect for Raamattu Nyt. Generates landing page copy, feature page copy, and CTA suggestions based on the canonical user model. Translates user paths into benefit narratives and core tasks into user value propositions. Use when (1) creating or updating the main landing page, (2) writing feature page copy, (3) generating marketing messaging for app features, (4) crafting CTAs, (5) translating technical features into user benefits, (6) planning marketing page structure. Triggers: "landing page", "marketing copy", "feature page", "CTA", "value proposition", "markkinointi", "laskeutumissivu", "ominaisuussivu", "benefits copy", "marketing messaging".

code-wizard
0

Codebase exploration and location finder for the Raamattu Nyt monorepo. Use when finding where specific functionality is implemented, locating constants/tokens/config values, discovering file patterns, or answering "where is X coded?" questions. Helps other skills and agents locate code quickly.

topic-manager
0

Expert assistant for managing biblical topics in the KR92 Bible Voice project. Use when (1) creating/editing topics and their Finnish translations, (2) managing topic relations (related, opposite, broader, narrower), (3) validating Finnish translations and pronunciations with Voikko/Omorfi, (4) reviewing topics marked with qa_status='unchecked', (5) bulk updating topic translations, (6) managing topic aliases and synonyms, or (7) fixing incorrectly translated Finnish topic names.

seo-ptimizer
0

Search Engine Optimization and AI Search Optimization (GEO) specialist. Use when: (1) optimizing for traditional search (Google, Bing), (2) optimizing for AI search engines (ChatGPT, Perplexity, Google AI Overviews, Claude), (3) implementing schema markup for AI citation, (4) improving Core Web Vitals (LCP, INP, CLS), (5) creating citation-worthy content structure, (6) zero-click optimization, (7) E-E-A-T signal implementation. Expert in GEO (Generative Engine Optimization), structured data, and AI-readable content.