No slash command · from web-tasuke
Use semantic HTML elements instead of div. Use when writing or reviewing JSX/HTML markup in React or web components.
Ships in web-tasuke. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
意味のある構造には<div>ではなく、なるべくセマンティックHTML要素を使ってください。
<div>にコメントで意味を補足するぐらいなら、適切な要素を選ぶべきです。
セマンティック要素はアクセシビリティツール、LLM、人間のいずれにとっても読みやすくなります。
<div>はスタイリング目的のグルーピングなど、意味を持たないコンテナとしてのみ使います。
<main>ページの主要コンテンツです。 1ページにつき1つだけ使います。
<main>
<h1>ページタイトル</h1>
<section>...</section>
<section>...</section>
</main>
<article>独立して意味をなすコンテンツです。 ブログ記事、コメント、カードなどが該当します。
<article>
<h3>記事タイトル</h3>
<p>{content}</p>
</article>
<section>見出し(<h1>-<h6>)を伴うコンテンツのまとまりに使います。
ページ内の各セクション、フォームのグループなどが該当します。
// Good
<section>
<h3>承認セクション</h3>
<textarea />
<button>承認</button>
</section>
// Bad
<div>
<h3>承認セクション</h3>
<textarea />
<button>承認</button>
</div>
<header>セクションやページの導入部分です。 タイトル、ロゴ、ナビゲーションなどを含みます。
<header>
<h1>ページタイトル</h1>
<StatusBadge status={status} />
</header>
<footer>セクションやページの末尾です。 関連リンク、アクションボタン群などを含みます。
<footer>
<button>キャンセル</button>
<button>保存</button>
</footer>
<nav>主要なナビゲーションリンクのまとまりです。 サイドバーメニュー、パンくずリスト、ページ内リンクなどが該当します。
<nav>
<a href="/dashboard">ダッシュボード</a>
<a href="/settings">設定</a>
</nav>
<aside>メインコンテンツに対する補足情報です。 サイドバー、注釈、関連リンクなどが該当します。
<aside>
<h4>関連情報</h4>
<ul>...</ul>
</aside>
<div>を使ってよい場合What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
17 skills in this plugin
/any-typeAvoid using any type in TypeScript. Use unknown, generics, or proper type definitions instead. Use when writing or reviewing TypeScript type annotations./aria-usageWAI-ARIA usage guidelines. Avoid redundant ARIA attributes. No ARIA is better than Bad ARIA. Use when writing or reviewing HTML/JSX with accessibility attributes./as-const-satisfiesUse `as const` and `as const satisfies Type` for constant definitions in TypeScript. Use when defining constants, config objects, or string union types.npx claudepluginhub ncaq/konoka --plugin web-tasuke