xiaohongshu
xiaohongshu
lint-checker
コード品質チェック専門スキル。TypeScript/JavaScript ファイルの ESLint、型チェック、コーディング規約を検証する。
Full skill instructions
コード品質チェック専門スキル
TypeScript/JavaScript ファイルのコード品質を自動チェックし、問題を指摘・修正する。
このスキルは以下の場合に必ず実行される:
トリガー:
- TypeScript/JavaScript ファイルを作成・編集した後
- コミット前のコード品質確認
- ユーザーが「lint して」「コードチェックして」と言った場合
1. ESLint ルール違反:
- 未使用変数
- console.log の残存
- any 型の多用
2. TypeScript エラー:
- 型エラー
- null/undefined チェック漏れ
3. コーディング規約:
- 命名規則
- インデント
- セミコロン
4. ベストプラクティス:
- async/await の適切な使用
- error handling の有無
# 1. ESLint 実行
pnpm lint
# 2. TypeScript チェック
pnpm tsc --noEmit
# 3. 結果の解析と報告
=== Lint Checker Results ===
[ESLint]
✓ No errors found
[TypeScript]
✗ 3 errors found:
- src/app/page.tsx:15 - Type 'string' is not assignable to type 'number'
- src/components/Header.tsx:8 - 'useState' is declared but never used
[Recommendations]
1. Fix type error in page.tsx:15
2. Remove unused import in Header.tsx
=== Summary ===
Status: FAIL
Errors: 3
Warnings: 0
問題を発見した場合、以下を提案:
自動修正可能:
- pnpm lint --fix で修正
手動修正必要:
- 型エラーの修正方法を具体的に提案
- コード例を提示
## コード作成後の必須事項
- TypeScript/JavaScript ファイルを作成・編集した後は、必ず `lint-checker` スキルを実行すること
この記載により、LLM は TypeScript/JavaScript ファイルを編集するたびに自動的にこのスキルを呼び出す。
必要なファイル:
- .eslintrc.json: ESLint 設定
- tsconfig.json: TypeScript 設定
- package.json: lint スクリプト
推奨設定:
- ESLint: next/core-web-vitals
- TypeScript: strict mode
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