xiaohongshu
xiaohongshu
Full skill instructions
変更要求: $ARGUMENTS
Think deeply ユーザーの変更意図を汲み取り、LLMが迷わない形で実装:
未指定時の質問テンプレート:
1. どのスキルを変更しますか?
例: typescript-rules / coding-standards / documentation-criteria
2. 変更種別を選択:
a) 新基準追加(新しい基準を追加)
b) 既存基準修正(曖昧な記述を明確化)
c) 基準削除(不要になった基準を削除)
3. 具体的な変更内容:
例:「any型の使用を禁止する基準を追加」
例:「エラーハンドリングの基準を明確化」
[ユーザー入力]
対象ファイル特定と現状確認:
# ツール選択基準(測定可能な判断)
if スキル名が明示されている:
Read: .claude/skills/{スキル名}/SKILL.md を直接読み込み
else if スキル名の一部のみ判明:
Glob: .claude/skills/*{キーワード}*/SKILL.md で探索
Read: 特定したファイルの現状確認
else:
Glob: .claude/skills/*/SKILL.md で全件確認
ユーザーに対象スキル選択を確認
変更設計テンプレート:
【現状】
「エラーは適切に処理する」(曖昧:「適切」の基準不明)
【ユーザー要求の理解】
「エラーハンドリングを厳格化したい」→ 測定可能な基準を設定
【変更案】
「エラーハンドリング実装基準:
1. try-catch必須条件:
- 外部API呼び出し(fetch, axios等)
- ファイルI/O操作(fs.readFile等)
- JSON.parse、parseInt等の変換処理
2. エラーログ必須項目:
- error.name(エラー種別)
- error.stack(発生箇所)
- タイムスタンプ(ISO 8601形式)
3. ユーザー通知基準:
- 技術詳細を含まない(NG例:スタックトレース表示)
- 対処法を明示(推奨:「再度お試しください」)」
この設計で進めますか? (y/n)
開始宣言: 「第1回:追記モードで実行。削除は一切行わない」
開始宣言: 「第2回:批判的修正モードで実行。冗長と判断した箇所を実際に削除・統合」
修正作業:
報告フォーマット:
修正箇所数: X件
削除・統合した内容:
- [削除前]: 「詳細な記述」
[削除後]: 「簡潔な記述」
[理由]: 冗長性の排除
開始宣言: 「第3回:差分評価モードで実行。第2回の修正を検証し、必要なら復元」
検証作業:
最終確認質問(必須回答): 「ユーザーの変更要求を正確に実装するための必要十分条件が揃っているか?」
報告: 復元項目数と最終的な削減率
変更前後の比較を提示し、ユーザー承認を取得。
/sync-skills 実行提案| パターン | 変換前 | 変換後 |
|---|---|---|
| 感情的表現 | 「必ずすべき」 | 「以下の場合に実行(背景:実行しないとビルドエラー)」 |
| 時間表現 | 「すぐに実行」 | 「エラー検出後、最初に実行」 |
| 暗黙前提 | 「エラーハンドリングを実装」 | 「TypeScript環境でasync関数のエラーハンドリング実装」 |
| 順序不明確 | 「以下を考慮:A、B、C」 | 「優先順:1.A(必須)、2.B(推奨)、3.C(任意)」 |
| 冗長説明 | 「型安全性を確保するため、型を定義し、型チェックを行い、型エラーを防ぐ」 | 「型安全性の確保(定義・チェック・エラー防止)」 |
| スコープ曖昧 | 「テストを書く」 | 「単体テストを書く(E2Eテストはtypescript-testingスキル参照)」 |
=== 変更実装完了 ===
【ユーザー要求】
「TypeScriptのエラーハンドリング基準を厳格化したい」
【変更内容】
対象: .claude/skills/typescript-rules/SKILL.md
セクション: ## エラーハンドリング
変更前:
「エラーは適切に処理する」
変更後(3回見直しプロセス完了):
「エラーハンドリング実装基準:
1. try-catchブロック必須条件:
- 外部API呼び出し(fetch, axios等)
- ファイルI/O操作(fs.readFile, fs.writeFile等)
- JSON.parse、parseInt等の例外発生可能な処理
2. エラーログ必須項目:
- error.name(エラー種別)
- error.stack(発生箇所)
- new Date().toISOString()(タイムスタンプ)
3. ユーザー向けメッセージ:
- 技術詳細を含まない(NG例:スタックトレース表示)
- 具体的な対処法を明示(推奨:「再度お試しください」)」
【改善指標】
- 判断基準明確度: 0% → 100%(全て測定可能)
- 曖昧表現: 1箇所 → 0箇所
- NG例を背景情報として含む
メタデータ同期のため /sync-skills を実行してください。
スコープ: ユーザー変更要求の理解と精度最大化実装
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience