원클릭으로
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}`);
}
}
}