ask-ui

Answers questions about code, plans, or branch changes with file:line evidence.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/muselesscreator/ui-skills --skill ask-ui-muselesscreator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-ui
Source: https://github.com/muselesscreator/ui-skills/tree/main/ask-ui
Command: npx skills add https://github.com/muselesscreator/ui-skills --skill ask-ui-muselesscreator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often need quick, grounded explanations of how existing code works, why a pattern is used, or what a plan implies, without digging through files manually. This Skill reads the targeted code, plan, or branch diff, loads repo learnings and tooling constraints, and produces a focused read-only answer with precise file:line references. ## Core Features & Use Cases - Targeted Question Answering: Resolves the question's target automatically — explicit file paths, the most recent plan file, the current branch diff, or grep-discovered candidates. - Repo Learnings Integration: Loads scoped conventions and gotchas from a wiki (via QMD queries) or flat repo-learnings files so answers reflect project-specific patterns. - Tooling-Aware Explanations: Reads tsconfig, ESLint, and Prettier configs when the question touches types, lint rules, or formatting, citing only constraints relevant to the answer. - Use Case: Ask "why does AccountForm use a controller wrapper" and receive a direct answer citing AccountForm.tsx:42-58, the relevant strict-mode flag that shaped the code, and any applicable repo gotcha — without any files being modified. ## Quick Start Ask the assistant to explain why a specific component or pattern in this repository is implemented the way it is.

Frequently Asked Questions about ask-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get an explanation of how a piece of code works?

Pass a question with an optional target such as a file path, "the plan", or "this branch". The skill reads the resolved target, loads repo learnings, and returns a direct answer with file:line citations for every claim grounded in code.

How do I ask questions about the current branch or diff?

Reference "this branch", "this change", or "the diff" in your question. The skill runs git diff against the merge-base with main, reads the changed files, and answers about the change itself rather than the whole file contents.

Does this skill modify or refactor my code?

No, it is strictly read-only and never edits files or runs lint/typecheck. If a question implies a change, it describes what the change would look like without performing it.

What happens when no plan file or matching code is found?

If no plan exists for the repo and branch, it reports the missing plan and asks how to proceed. If grep finds no candidate files for an open question, it asks you to point to a file or scope instead of guessing.

Can it explain why TypeScript strict mode affects my code?

Yes, when a question touches types, lint rules, or formatting, it reads tsconfig.json and ESLint/Prettier configs. It then cites only the specific constraints, such as noUncheckedIndexedAccess, that explain the code's shape.