Install
$ agentstack add skill-azhi-ss-html-effectiveness-01-explore ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
01-explore — 探索与规划
> "You're not sure what you want yet. Ask the agent to fan out across several directions and lay them next to each other so you can point at one."
何时用
| 用户说 | 用哪个范式 | 模板 | |-------|-----------|------| | "几种实现方式给我看看 / 哪种更好" | 三方案对比 | ../templates/compare.html | | "compare X vs Y vs Z" | 同上 | 同上 | | "我想要 UI 但说不清风格 / 几个方向给我看" | 视觉设计方向 | 自建(见下) | | "做一份实现计划 / RFC / 怎么落地" | 实现计划 | ../templates/plan.html | | "ship in 2 weeks 怎么排" | 同上 | 同上 |
范式 1.1 · 三方案对比
空间形状:每个方案 = 一个完整代码块 + 一张 Pro/Con 表 + 一行指标(bundle / 可测试性 / SSR / 复用)。三个方案要并排才能比较,markdown 只能上下堆。
最少要素:
- 至少 2、不超过 4 栏(多了用户记不住)
- 每栏一段最小可运行代码(5-15 行)
- Pro/Con 各 3 条,具体(不是 "easy to read",而是 "Single import reused across filter, command bar, and board search")
- 一行指标用同一组维度,便于横向比较
- 文末一段 agent 的推荐(不要让用户全自己判断)
HTML 骨架:
Approach 1Inline useEffect
...实际可运行代码...
ProCon
......
Bundle +0 kb
Test medium
Reuse low
SSR yes
建议:...
关键 CSS:
.approaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.approach { display: flex; flex-direction: column; gap: 16px;
padding: 20px; border: 1px solid var(--gray-300);
border-radius: 12px; background: var(--white); }
.approach pre { flex: 1; max-height: 360px; overflow: auto; }
.proscons td:first-child { color: var(--success); }
.proscons td:last-child { color: var(--danger); }
.metrics { display: flex; gap: 16px; flex-wrap: wrap;
font-size: 13px; color: var(--gray-700); }
直接可用模板:[../../templates/compare.html](../../templates/compare.html)
范式 1.2 · 视觉设计方向
空间形状:4 张真实渲染的卡片(不是描述!)+ 每张一行风格说明 + 顶栏 light/dark 切换。
典型 4 个方向(覆盖大多数场景):
- A — Minimal · 纯字体单一动作
- B — Illustrated · 加一个小 SVG 插画
- C — Playful · 有微动画 / 玩味
- D — Instructional · 把空状态当 onboarding
关键 CSS / JS:
.directions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.directions[data-theme="dark"] { background: var(--slate); color: var(--ivory); }
.render { aspect-ratio: 4/3; padding: 32px; border-radius: 12px;
background: var(--ivory); display: flex; align-items: center;
justify-content: center; flex-direction: column; }
document.querySelectorAll('.theme-toggle button').forEach(b => b.onclick = () => {
document.querySelectorAll('.directions').forEach(d => d.dataset.theme = b.dataset.theme);
});
无独立模板(按需生成;可参考 ../../templates/compare.html 的两栏结构改造)。
范式 1.3 · 实现计划(plan)
空间形状:6 块固定区域:
- 元信息条:Effort / Surfaces / New tables / Feature flag
- Milestones:4 段时间线(slice 1-4,每段独立可评审)
- Data flow:SVG 框图(实线 = 请求/响应,虚线 = realtime fan-out)
- Mockups:用 HTML 直接渲染的 UI 草图(不要图片占位)
- Key code:1-2 段最容易做错的代码(migration、optimistic mutation)
- Risks & mitigations:表格 (Risk, Sev, Mitigation)
- Open questions:每条带"和谁、何时决定"
HTML 骨架:
Implementation plan — [Feature]
Effort~2 weeks
Surfaces touched3 packages
New tables2
Feature flagflag_v1
01
Milestones
...
02
Data flow
...
SVG 数据流要点:
- 节点 `` 用 8px 圆角
- 实线(请求路径)用
--slate,虚线(fan-out)用--clay+stroke-dasharray="4 4" - 箭头复用 `
(见../shared/components.html` 第 1 节)
直接可用模板:[../../templates/plan.html](../../templates/plan.html)
共同原则
- 不要写一个 winner,让 3 个方案都看起来可信,再给推荐
- 指标要可比——别第一栏写 "fast",第二栏写 "200ms"
- Pro/Con 各 3 条——少了不可信,多了读不完
- 真实姓名占位:
Mira Okafor,Devon Park,不写User A - 数据流图必须有图例——实线 vs 虚线的含义写清楚
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Azhi-ss
- Source: Azhi-ss/html-effectiveness
- License: MIT
- Homepage: https://thariqs.github.io/html-effectiveness/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.