Execute the LSP configuration or troubleshooting task described in $ARGUMENTS .
Steps
-
If $ARGUMENTS is empty, report an error requesting the user to specify their project path or language.
-
To detect the project's language, run python $SKILL_DIR/scripts/detect_language.py <target_directory> .
-
To check installed language servers, run python $SKILL_DIR/scripts/check_server.py .
-
For generating custom config, run python $SKILL_DIR/scripts/generate_config.py <Languages...> .
-
Read $SKILL_DIR/references/servers.md and $SKILL_DIR/references/troubleshooting.md if specific servers or troubleshooting steps are needed.
Output
Information about the detected languages, recommended LSP servers, or instructions for fixing integration issues.
Error Handling
- If scripts return an error, consult $SKILL_DIR/references/troubleshooting.md for guidance on how to fix common problems before presenting them to the user.