ワンクリックで
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 職業分類に基づく
Anthropic AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides Anthropic-compatible API access without requiring your own API key.
Gemini AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides Gemini-compatible API access without requiring your own API key.
OpenAI AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides OpenAI-compatible API access without requiring your own API key.
OpenRouter AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides OpenRouter-compatible API access without requiring your own API key.
Apply a user's saved artifact template (a reusable slides/web style donor) when they ask to build or restyle an artifact "with my template", "using my saved template", "in my brand style", or refer to a template by name. Use this to discover the user's saved templates and materialize one for use.
Use when creating or updating the artifact.toml for artifacts such as websites, web apps, mobile apps, slide decks, pitch decks, videos, and data visualizations.
| 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}`);
}
}
}