bundles/frontend/skills/quick-view/SKILL.md
Generates minimal HTML pages to review structured data in a browser with maximum readability. Triggers on: "show me", "view this", "make reviewable", "open as webpage", or any request to review lists, tables, drafts, or summaries that are hard to read in the terminal.
npx skillsauth add shipshitdev/library quick-viewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate minimal HTML to review structured data in a browser. Minimal styling, maximum readability.
DO:
<table>, <ul>, <details>, <pre>, <h1-3>_private/views/open _private/views/{filename}DO NOT:
Views have a lifecycle: temporary → keeper → archived.
| Stage | Filename | When |
|-------|----------|------|
| Temporary | name-temp.html | Default for new views |
| Keeper | name.html | User says "keep this", "this is good" |
| Archived | name.2025-01-01.html | Previous keeper when promoting new one |
Rules:
-temp suffix — Every new view starts as name-temp.htmlname.htmlname.html exists, rename to name.DATE.html before promoting-temp filesWorkflow: See references/full-guide.md (§ File Naming Lifecycle Example) for a walkthrough of temp → keeper → archived across iterations.
Trigger phrases for promotion:
Every quick-view HTML file uses the base template at ${CLAUDE_SKILL_DIR}/assets/base-template.html. Load it to get the full HTML structure with CSS variables, dark-mode support, truncation toggle script, and type-border classes. Replace {title}, {timestamp}, {count}, and {content} placeholders when generating output.
<h1>Title</h1>
<ul>
<li><strong>@username</strong> — action item</li>
</ul>
<table>
<tr><th>Contact</th><th>Action</th><th>Draft</th></tr>
<tr><td>@name</td><td>Follow up</td><td>Hey...</td></tr>
</table>
<details>
<summary><strong>@username</strong> — action</summary>
<div class="truncate">
<pre>Long content here that may need truncation...</pre>
</div>
</details>
<div class="type-user">User message or input</div>
<div class="type-draft">Draft content</div>
<div class="type-done">Completed item</div>
<p>
<a href="tg://resolve?domain=username">Open Telegram</a> ·
<button onclick="navigator.clipboard.writeText('draft text')">Copy</button>
</p>
When displaying data gathered from external sources, always include attribution links for drill-down.
Add to base template CSS:
.source { color: var(--muted); font-size: 0.75rem; }
.source a { color: var(--muted); }
.source a:hover { color: var(--accent); }
Inline attribution (preferred for lists):
<div class="tip">
<strong>Tip title</strong> — Description of the tip.
<span class="source">— <a href="https://x.com/user/status/123">@username</a></span>
</div>
Table with source column:
<table>
<tr><th>Tip</th><th>Source</th></tr>
<tr>
<td>Description here</td>
<td class="source"><a href="https://x.com/user/status/123">@user</a></td>
</tr>
</table>
Expandable with source in summary:
<details>
<summary><strong>Tip title</strong> <span class="source">— <a href="URL">@source</a></span></summary>
<p>Full content...</p>
</details>
Meta header with main source:
<p class="meta">
Generated: {timestamp} · {count} items ·
Source: <a href="https://x.com/user/status/123">Original thread</a>
</p>
Principles:
@username for social media, domain for articlesFor drafts that user may edit before sending. Tracks original vs edited for later analysis.
See references/full-guide.md (§ Editable Drafts Markup, § Editable Drafts Script) for the <details> markup and the saveDraft/copyDraft/restoreEdits/exportEdits script to include before the closing </body> tag.
Add export button in header when using editable drafts:
<p class="meta">Generated: {timestamp} · {count} drafts · <button onclick="exportEdits()">Export Edits</button></p>
_private/views/{name}-temp.htmlopen _private/views/{name}-temp.html{name}.htmlUser: "show me the drafts"
Agent:
_private/drafts/outreach_drafts.md<details> for each draft_private/views/drafts-temp.htmlopen _private/views/drafts-temp.htmlResult: Browser opens, user sees expandable list of drafts with auto dark/light mode, long content truncated with "Show more", can copy each one.
User: "this looks good, keep it"
Agent:
drafts-temp.html → drafts.htmlThis skill produces functional HTML with minimal styling. For full visual styling, invoke the html-style skill after generating.
Classes used by quick-view (compatible with html-style):
| Class | Purpose |
|-------|---------|
| .type-user | User input/message |
| .type-draft | Draft content |
| .type-done | Completed item |
| .source | Attribution links |
| .meta | Metadata header |
| .truncate | Long content container |
| .actions | Action button container |
Data attributes for JS hooks:
data-username — Identifier for draftsdata-original — Original text for diff trackingTruncation pattern and CSS variables approach inspired by simon willison's claude-code-transcripts.
development
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo 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, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.