ワンクリックで
diagnostics
Access LSP diagnostics and suggest project rollback. Use for debugging static errors and helping users revert changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Access LSP diagnostics and suggest project rollback. Use for debugging static errors and helping users revert changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | diagnostics |
| description | Access LSP diagnostics and suggest project rollback. Use for debugging static errors and helping users revert changes. |
Tools for debugging code issues and managing project state.
Use this skill when:
Retrieve LSP diagnostics - syntax errors, type errors, and code issues.
Parameters:
filePath (str, optional): File path to check. If omitted, checks all files with errors.Returns: Dict with diagnostics (file paths to error lists) and filePath (filter used)
Example:
// Check specific file after editing
const result = await getLatestLspDiagnostics({ filePath: "src/auth.ts" });
for (const [path, errors] of Object.entries(result.diagnostics)) {
for (const error of errors) {
console.log(`Line ${error.startLine}: ${error.message}`);
}
}
// Check all files for errors
const allErrors = await getLatestLspDiagnostics();
console.log(`Files with errors: ${Object.keys(allErrors.diagnostics)}`);
When to check LSP:
Skip LSP when:
Suggest rolling back to a previous checkpoint. Call SuggestUserAction({ action: "rollback", message: "..." }) with a short, non-technical explanation for why rollback is suggested.
Use when user expresses intent to:
Important:
// After making code changes
const errors = await getLatestLspDiagnostics({ filePath: "src/services/user.ts" });
if (Object.keys(errors.diagnostics).length > 0) {
// Fix each error
for (const [path, diags] of Object.entries(errors.diagnostics)) {
for (const diag of diags) {
console.log(`Fix: ${diag.rendered}`);
}
}
}
Design static ad creatives for social media and display advertising campaigns.
Source and evaluate candidates with job analysis, CV screening, and pipeline tracking.
Find relevant companies and leads for B2B sales with ICP definition and qualification frameworks.
Draft emails, manage calendars, prepare agendas, and organize productivity.
Create brand identity kits — logos, color palettes, typography, naming, and style guides.
Conduct thorough, multi-source research with structured reports and source scoring.