一键导入
setup
Initial workspace setup — configures modules and verification profiles based on user selections from the admin panel
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initial workspace setup — configures modules and verification profiles based on user selections from the admin panel
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrates a governed multi-phase implementation workflow — assessment, research, planning, execution, review, and delivery — with backend-enforced phase gates, scope locking, and proof-driven research.
Guides the orchestrator through phases 1.0-1.4 of the governed workflow — assessment, research, research proving, impact analysis, and preparation review. Produces a thorough, structured foundation before planning begins.
Guides the orchestrator through Phase 2.0 (Planning) of the governed workflow — structuring the execution plan (with per-item scope), proposing acceptance criteria, and collaborating with the plan-advisor teammate.
Install, repair, and manage the multi-session Telegram channel server that allows switching between Claude Code sessions from Telegram
Install, repair, and manage the multi-session Telegram channel server that allows switching between Claude Code sessions from Telegram
Manage project rules (.claude/rules/*.md with glob-based auto-loading). Use when authoring, editing, or deleting rule files via MCP, or when explaining how rule loading works to the user.
| name | setup |
| description | Initial workspace setup — configures modules and verification profiles based on user selections from the admin panel |
| user_invocable | false |
| tools_required | ["Bash","Read","Edit","Write"] |
This skill is invoked automatically by the admin panel's setup wizard. It receives a configuration payload describing which modules to install and which verification profiles to configure.
The setup configuration is passed as the initial prompt. It contains:
["telegram"])["other_module"])For each module in the modules to enable list:
<repo>/claude/modules/<module_id>/SKILL.mdenable section before doing anythingenable instructions exactly as written in the skill (the enable command handles install if needed, then activates the integration)status command, run it after enabling to verify successFor each module in the modules to disable list:
<repo>/claude/modules/<module_id>/SKILL.mddisable section before doing anythingdisable instructions exactly as written in the skillDetect the device environment before processing any profiles:
uname -s to determine OS (Darwin = macOS, Linux = Linux)brew is available (which brew)which apt, which dnf, which pacman)For each selected preset language profile:
install_check_command (e.g., which java, which python3)install_command to install itjava --version, python3 --version, node --version, go version/usr/local/bin/... on macOS with Apple Silicon vs Intel)For each custom language configuration:
workspace_create_verification_profile MCP tool.
If the configuration includes LSP settings, pass them in the same call:
workspace_create_verification_profile(
name="Go",
language="go",
description="Go compilation, lint, and test",
lsp_command="gopls",
lsp_args='["serve"]',
lsp_install_check_command="which gopls",
lsp_install_command="go install golang.org/x/tools/gopls@latest"
)
The lsp_command parameter is required for the LSP button to appear in the admin panel header. If omitted, the profile will work for verification but LSP integration will be missing.install_check_command is not provided, auto-detect it: use which <tool> as the defaultinstall_command is not provided, auto-detect based on OS and package manager:
brew install <tool>sudo apt install -y <tool>sudo dnf install -y <tool>workspace_add_verification_step MCP toolinstall_check_command to verify the tool is presentinstall_commandFor each profile that includes LSP configuration (lsp_server field in the configuration):
description field via workspace_get_verification_profiles. If it contains setup instructions (look for phrases like "LSP setup requires", "LSP setup uses", or "call workspace_update_verification_profile"), follow those instructions now — before smoke-testing:
workspace_update_verification_profile with the profile's ID and the resolved LSP fields (e.g., updated lsp_command and lsp_args)lsp_install_check_command from the profile (use the updated value if it was just changed), or which <lsp_server> if no check command is providedlsp_install command from the configuration
<lsp_server> --help or <lsp_server> --version
Java's LSP server (jdtls) is JVM-based, and each jdtls release has a minimum required JDK. Mismatches are the most common cause of LSP server closed stdout before responding to initialize. The Java profile description carries the version matrix and discovery commands — follow them, but the core idea is:
brew info jdtls (macOS) or check the binary's wrapper script.JAVA_HOME=<candidate> jdtls --jvm-arg=-Xmx1G </dev/null once. If it errors with jdtls requires at least Java N, switch to JDK N and retry. If it starts cleanly and waits for stdin, the JDK is correct.workspace_update_verification_profile to write lsp_command='bash' and lsp_args='["-c", "JAVA_HOME=<resolved> exec jdtls --jvm-arg=-Xmx1G"]'.If a jdtls-based profile starts cleanly via bash -c from the terminal but the admin panel reports LSP server closed stdout before responding to initialize, jdtls's per-project workspace cache is almost certainly corrupt. jdtls hashes the project working directory and stores Eclipse workspace state at:
~/Library/Caches/jdtls/jdtls-<hash>/~/.cache/jdtls/jdtls-<hash>/When that state references files that no longer exist on disk (after a rebuild, branch switch, or stale build artifacts), Eclipse's ResourcesPlugin throws ObjectNotFoundException during init and the server exits before responding. Fix: delete the offending jdtls-<hash>/ directory and retry the LSP start. The fresh cache rebuilds in under a minute. The actual error stack lives in the cache's .metadata/.log file — read it to confirm the diagnosis before wiping anything else.
Kotlin uses the official JetBrains kotlin-lsp (the Kotlin/kotlin-lsp project, distributed by JetBrains). It is not the same as the community fwcd/kotlin-language-server — pick the JetBrains one, it's based on IntelliJ infrastructure and gives correct cross-module references for JVM Gradle projects.
Important: Kotlin and Java are different LSP servers even though both target the JVM. jdtls cannot index .kt files; kotlin-lsp cannot index .java files. If a project mixes both you need both profiles assigned.
Install:
brew install --cask kotlin-lsphttps://github.com/Kotlin/kotlin-lsp/releases, extract it, and symlink kotlin-lsp.sh to a directory on PATH as kotlin-lsp.Smoke test: kotlin-lsp --help should print usage. The binary ships its own bundled JRE — there is no JAVA_HOME or system Java requirement, and the version-matching dance you do for jdtls does not apply here.
LSP profile fields for Kotlin:
lsp_command: kotlin-lsplsp_args: ["--stdio"]lsp_install_check_command: which kotlin-lsplsp_install_command (macOS): brew install --cask kotlin-lspFirst-start timing: kotlin-lsp performs its full Gradle import + index pass on the first initialize request. For a fresh, never-imported multi-module project this takes 30-90 seconds before references will work. Subsequent starts reuse the cache and are much faster. If a textDocument/references query returns empty immediately after start, wait and retry — it is almost always still indexing.
Limitations (per upstream, status as of 262.x): Kotlin Multiplatform and Maven are not yet supported. Only JVM Gradle projects work reliably. If the profile is assigned to a KMP or Maven Kotlin project, expect kotlin-lsp to either return partial results or fail to import; report this clearly to the user instead of silently treating it as success.
For custom profiles with LSP:
lsp_server) and install command (lsp_install) in the configurationworkspace_create_verification_profile for a clean setup, or add/update them later via workspace_update_verification_profile. The following parameters map from the user's configuration:
lsp_server → lsp_command parameterlsp_install → lsp_install_command parameterlsp_install_check_command as which <lsp_server> if not providedlsp_args if the LSP protocol requires specific flags (e.g., '["--stdio"]')Modules live at <repo>/claude/modules/. Each module directory contains:
SKILL.md — The skill definition with install/configure/status instructionsWhen creating custom verification profiles, each language configuration includes:
name — Profile display name (e.g., "Go")language — Language key (e.g., "go")tools — List of tools to add as verification steps, each with:
name — Step name (e.g., "Compilation")command — The verification command (e.g., go build ./...)install_check_command — Command to check if tool is installed (e.g., which go)install_command — Command to install the tool if missingfail_severity — "blocking" or "warning"