Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

ln-010-dev-environment-setupln 010 开发环境设置

Agent Skill

ln-010-dev-environment-setup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,897

周安装

76

GitHub Stars

441

下载量

614
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ln-010-dev-environment-setup(ln 010 开发环境设置)
来源仓库:https://github.com/levnikolaevich/claude-code-skills
仓库路径:skills/ln-010-dev-environment-setup
安装命令:
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-010-dev-environment-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-010-dev-environment-setup

简介

用于查找和筛选与 ln-010 开发环境设置相关的信息。

  • 适合根据关键词快速定位配置指南或依赖项。ln-010-dev-environment-setup 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 安装,需结合原始文档验证具体步骤。
  • 建议在使用前确认是否具备修改环境变量的权限。
  • 注意环境隔离,避免影响其他项目或系统服务。

SKILL.md

Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.

Dev Environment Setup

Type: L2 Domain Coordinator Category: 0XX Shared

Runtime-backed coordinator for environment setup. The runtime is the execution SSOT. Worker outputs are standalone summaries, not chat prose.

MANDATORY READ

Load these before execution:

  • shared/references/coordinator_runtime_contract.md
  • shared/references/environment_setup_runtime_contract.md
  • shared/references/environment_worker_runtime_contract.md
  • shared/references/coordinator_summary_contract.md
  • shared/references/agent_skill_roots_contract.md
  • shared/references/environment_state_contract.md
  • shared/references/environment_state_schema.json

MCP servers are targets of this workflow, not a prerequisite for starting it. If a server is disconnected or unavailable, continue with file and CLI inspection and report that surface as disconnected or skipped instead of failing the coordinator.

When to Use

  • First-time environment setup
  • Agent/MCP drift after installs or updates
  • Marketplace, plugin, MCP, or Codex execution-default drift across Claude and Codex
  • Instruction file audit or repair

Inputs

ParameterRequiredDefaultDescription
targetsNobothclaude, codex, or both
dry_runNofalsePlan without mutating
pluginsNoagile-workflowPass-through to ln-013. Use an explicit plugin list, or all to request every marketplace plugin. Optional plugins are never installed silently.
auto_install_providersNofalsePass-through to ln-013 MCP provider check. When false, provider checks are detection-only.
apply_ide_overrideNofalsePass-through to ln-012 Phase 6b. When true, ln-012 may write claudeCode.initialPermissionMode and claudeCode.allowDangerouslySkipPermissions to Cursor / VSCode user settings after explicit user consent. When false (default), Phase 6b is detection-only and reports drift without mutating IDE settings.

Runtime

Runtime family: environment-setup-runtime

Identifier:

  • targets-{normalizedTargets}

Phases:

  1. PHASE_0_CONFIG
  2. PHASE_1_ASSESS
  3. PHASE_2_DISPATCH_PLAN
  4. PHASE_3_WORKER_EXECUTION
  5. PHASE_4_VERIFY
  6. PHASE_5_WRITE_ENV_STATE
  7. PHASE_6_SELF_CHECK

Terminal phases:

  • DONE
  • PAUSED

Phase Map

Phase 1: Assess

Collect one environment snapshot:

  • agent availability and versions
  • MCP registration/connection state
  • hook state
  • marketplace/plugin alignment state
  • Codex skill-root discovery health: active roots, cache roots, duplicate skill names, known_marketplaces.json install-location drift, whether cache is visible under ~/.codex/skills, whether ~/.codex/skills is a whole-root junction to ~/.claude/plugins, and whether approval_policy=never plus sandbox_mode=danger-full-access are already aligned
  • graph provider dependency status: for each detected project language, check whether the corresponding graph provider binaries are installed (e.g. basedpyright for Python, csharp-ls for C#). Use mcp__hex-graph__install_graph_providers with mode: "check" if hex-graph MCP is connected
  • graph index freshness: whether hex-graph is connected and the project has been indexed in this session (detection-only, no indexing here)
  • instruction file state
  • disabled flags from .hex-skills/environment_state.json if present
  • task management provider detection (Linear → GitHub → file)
  • research tool detection (Ref → Context7 → websearch)
  • git worktree availability
  • Claude Code IDE extension state: glob ~/.cursor/extensions/anthropic.claude-code-* and ~/.vscode/extensions/anthropic.claude-code-*. For each found, read claudeCode.initialPermissionMode and claudeCode.allowDangerouslySkipPermissions from the matching IDE user settings.json. Detection-only — no writes here.

Checkpoint payload:

  • assess_summary

Phase 2: Dispatch Plan

Build selective dispatch plan. Only invoke workers that have work.

Dispatch precedence:

  • If marketplace/plugin drift, Codex discovery violation (including whole-root junction), or Codex execution-default drift is present, ln-013-config-syncer becomes mandatory before Codex can be reported as healthy.
  • If hex-graph MCP is registered and either (a) graph provider deps are missing for detected project languages, or (b) the project has not been indexed, ln-012-mcp-configurator becomes mandatory even when MCP registration is already complete. ln-012 owns both graph provider dependency installation (PHASE_3) and graph indexing (PHASE_5).

Workers:

  • ln-011-agent-installer
  • ln-012-mcp-configurator
  • ln-013-config-syncer
  • ln-014-agent-instructions-manager

Standalone skills packaged in setup-environment but not dispatched by ln-010:

  • ln-015-hex-line-uninstaller remains direct-invocation only because it removes existing Claude-side integration surfaces.

Checkpoint payload:

  • dispatch_plan

Phase 3: Worker Execution

Invoke only selected workers. Do not re-probe the whole environment between worker calls.

Phase 1 assessment is the shared discovery snapshot. Materialize child manifests from that snapshot and pass them into managed worker runs.

For each selected worker:

  • compute deterministic child_run_id
  • compute exact child_summary_artifact_path
  • checkpoint child_run metadata before delegation
  • start the managed environment-worker-runtime child run
  • invoke the worker with both runId and summaryArtifactPath
  • read the artifact written by the worker
  • record the structured worker summary through environment-setup-runtime

Each worker remains standalone-capable, but Phase 3 always uses managed transport.

Expected summary kinds:

  • env-agent-install
  • env-mcp-config
  • env-marketplace-align
  • env-instructions

Record summaries with runtime record-worker.

Phase 4: Verify

Run targeted verification against the post-worker state:

  • health checks
  • hook status
  • marketplace/plugin and config alignment status
  • Codex skill discovery and execution-default status (including whole-root junction detection)
  • instruction file quality
  • runtime dependency status (ripgrep, optional language servers)
  • graph provider dependency health (basedpyright, scip-python, etc. per project languages)
  • graph index status (indexed, skipped, or stale)

Checkpoint payload:

  • verification_summary

Phase 5: Write Environment State

Write final durable state to:

  • .hex-skills/environment_state.json

Includes all detected sections: agents (with alignment status, marketplace plugins, Codex skill-root health, and Codex execution-default state), task_management, research, claude_md, assessment, hooks, ide_extension (Cursor / VSCode Claude Code extension state from Phase 1 plus any Phase 6b mutations from ln-012).

Rules:

  • runtime state is not environment state
  • workers never write .hex-skills/environment_state.json
  • validate output against shared schema before persisting

Checkpoint payload:

  • env_state_written
  • final_result

Phase 6: Self-Check

Confirm:

  • every required phase checkpoint exists
  • dispatched worker summaries were recorded
  • final state file was written unless dry_run

Checkpoint payload:

  • pass
  • final_result

Output Policy

Runtime artifacts:

  • .hex-skills/runtime-artifacts/runs/{run_id}/{summary_kind}/{identifier}.json

Durable environment output:

  • .hex-skills/environment_state.json

Do not mix these layers.

Worker Invocation (MANDATORY)

PhaseWorkerContext
3ln-011-agent-installerInstall or update CLI agents
3ln-012-mcp-configuratorConfigure MCP servers, hooks, permissions, and IDE extension permission mode (Phase 6b)
3ln-013-config-syncerInstall/verify Claude and Codex marketplace plugins, align MCP state, and align Codex defaults
3ln-014-agent-instructions-managerCreate and audit instruction files
node shared/scripts/environment-worker-runtime/cli.mjs start --skill {worker} --identifier {childIdentifier} --manifest-file {childManifestPath} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}
node shared/scripts/environment-setup-runtime/cli.mjs checkpoint --identifier {identifier} --phase PHASE_3_WORKER_EXECUTION --payload '{"child_run":{"worker":"{worker}","run_id":"{childRunId}","summary_artifact_path":"{childSummaryArtifactPath}"}}'
Skill(skill: "{worker}", args: "{workerArgs} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}")
Read {childSummaryArtifactPath}
node shared/scripts/environment-setup-runtime/cli.mjs record-worker --identifier {identifier} --payload '{...environment worker summary...}'

apply_ide_override propagates from ln-010 input to ln-012 only. Default false keeps Phase 6b in detection mode and reports IDE drift as a WARN in the assessment summary; passing true lets ln-012 prompt the user and write Cursor / VSCode settings.

plugins and auto_install_providers propagate from ln-010 input to ln-013 only. Default plugin selection is agile-workflow; optional plugins require an explicit list or all. auto_install_providers=false keeps MCP provider handling detection-only.

TodoWrite format (mandatory)

- Phase 1: Assess (pending)
- Phase 2: Build dispatch plan (pending)
- Phase 3: Start child runtime, checkpoint child metadata, and run selected workers (pending)
- Phase 4: Verify final state (pending)
- Phase 5: Write environment_state.json (pending)
- Phase 6: Self-check (pending)

Critical Rules

  • Runtime state is the execution SSOT.
  • Do not rely on chat memory for resume or recovery.
  • Do not run non-selected workers.
  • Do not dispatch ln-015-hex-line-uninstaller from normal setup; it is standalone cleanup.
  • Do not repeat full-environment discovery after every worker.
  • .hex-skills/environment_state.json is written only in Phase 5.
  • dry_run may end with final_result=DRY_RUN_PLAN and skip final state write.

Definition of Done

  • Runtime started with identifier-scoped manifest and state
  • Assessment snapshot recorded
  • Dispatch plan checkpointed
  • Child worker run metadata checkpointed before each delegation
  • Worker summaries recorded through machine-readable contract
  • Verification summary checkpointed
  • .hex-skills/environment_state.json validated and written, or explicit DRY_RUN_PLAN
  • Self-check passed

Meta-Analysis

MANDATORY READ: Load shared/references/meta_analysis_protocol.md

Skill type: domain-coordinator. Run after all phases complete. Output to chat using the protocol format.


Version: 6.1.0 Last Updated: 2026-04-07

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.73%
按下载量换算201

Claude

31.89%
按下载量换算196

Cursor

16.6%
按下载量换算102

Gemini CLI

9.24%
按下载量换算57

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-010-dev-environment-setup 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills