Execute the LSP configuration or troubleshooting task described in $ARGUMENTS.
Steps
- If
$ARGUMENTSis 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.mdand$SKILL_DIR/references/troubleshooting.mdif 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.mdfor guidance on how to fix common problems before presenting them to the user.