Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

init-config初始化配置

Agent Skill

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

总安装

823

周安装

35

GitHub Stars

537

下载量

288
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:init-config(初始化配置)
来源仓库:https://github.com/fradser/dotclaude
仓库路径:skills/init-config
安装命令:
npx skills add https://github.com/fradser/dotclaude --skill init-config
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/fradser/dotclaude --skill init-config

简介

用于查找、检索和筛选相关信息,适合根据关键词快速定位候选结果。

  • 可结合任务场景或来源线索进行信息聚合,支持技能库探索和匹配。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 安装命令为 npx skills add https://github.com/fradser/dotclaude --skill init-config。
  • 适用于 Codex、Claude、Cursor、Gemini CLI,需通过 GitHub 仓库安装。

SKILL.md

Initialization

Run phases in order because later phases depend on saved choices from earlier phases.

Phase 1: Environment Discovery

Goal: detect installed languages, tools, and package managers.

Actions:

  1. Detect installed languages (Node.js, Python, Rust, Go, Java, Docker, and others).
  2. Detect package manager options for selected ecosystems.
  3. Store detection results for Phase 4 option generation.

Phase 2: Developer Profile

Goal: detect or collect developer identity for personalization.

Actions:

  1. Run git config user.name and git config user.email to detect developer info.
  2. If both are detected, store as developer_name and developer_email for renderer arguments and proceed to Phase 3.
  3. If either is missing, ask the user directly through conversation:

- If name is missing: "I couldn't detect your name from git config. What name would you like to use? (or reply 'skip' to omit)" - If email is missing: "I couldn't detect your email from git config. What email would you like to use? (or reply 'skip' to omit)"

  1. Store the user's responses (or empty values if skipped) as developer_name and developer_email for renderer arguments.

Phase 3: Testing Methodology

Goal: choose the testing approach.

Actions: Ask with header Testing Methodology:

  • BDD first, then TDD (Recommended) -> BDD-driven TDD with Red-Green-Refactor
  • BDD only -> Gherkin scenarios without TDD cycle
  • TDD only -> Test-driven development without BDD scenarios
  • None -> No specific testing methodology Store the choice as testing_mode (bdd-tdd | bdd | tdd | none) for Phase 7 renderer arguments.

Phase 3.5: Memory Management (Optional)

Goal: decide whether to add CLAUDE.md memory instructions.

Actions: Ask with header Memory:

  • Skip (Recommended)
  • Include memory rules Store boolean include_memory for renderer arguments. Do not append memory text manually.

Phase 4: Technology Stack & Package Manager Selection

Goal: choose languages and package managers.

Actions:

  1. Use AskUserQuestion (multiSelect: true) for technology stacks.
  2. Generate options from detected technologies and mark detected ones as recommended.
  3. For selected languages with multiple managers, ask preference:
  • Node.js: npm, pnpm (Recommended), yarn, bun.
  • Python: pip, uv (Recommended), poetry.
  • Only show managers detected on the machine.
  1. Store ordered stack selections as language:::package_manager for renderer arguments.

Phase 5: Renderer Input Preparation

Goal: prepare deterministic renderer inputs from user selections.

Actions:

  1. Normalize each selected stack into ordered renderer input format language:::package_manager.
  • Keep selection order unchanged.
  1. For languages without explicit package manager choice, use language::: (empty manager).
  2. Keep language keys exact (Node.js, Python, Rust, Swift, Go, Java) when available; do not invent aliases.
  3. Never call online search in this phase.

Phase 6: Style Preference

Goal: choose emoji usage policy in generated CLAUDE.md.

Actions: Ask with header Style:

  • No Emojis (Recommended)
  • Use Emojis Store boolean use_emojis for renderer arguments that control emoji policy text in output.

Phase 7: Assembly & Generation

Goal: generate final content through one renderer script.

Actions:

  1. Run ${CLAUDE_PLUGIN_ROOT}/scripts/render-claude-config.sh with:
  • --target-file $HOME/.claude/CLAUDE.md
  • --testing-mode <bdd-tdd|bdd|tdd|none> (from Phase 3)
  • --include-memory <true|false>
  • --use-emojis <true|false>
  • Optional --developer-name and --developer-email
  • Repeated --stack "language:::package_manager" entries from Phase 5
  1. Let the renderer handle all assembly concerns: fragment assembly, testing content injection, developer profile, technology stack section, optional memory section, and final write.
  2. Do not manually post-edit renderer output; if output shape is wrong, fix inputs or renderer behavior.

Phase 8: Write CLAUDE.md

Goal: report write and backup results from renderer.

Actions:

  1. Use renderer output to confirm:
  • Target path written.
  • Backup path created when an existing target file was present.
  1. Report:
  • File and backup locations.
  • Developer info and testing mode.
  • Selected technology stacks and package managers.
  • Renderer rule-application summary: which stacks received local rule lines and which did not.

Best Practices

  • Keep workflow progressive and deterministic.
  • Prefer local references over generated prose for stack guidance.
  • Keep generated constraints concise and enforceable.
  • Always back up existing files before overwrite.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

30.6%
按下载量换算88

Gemini CLI

22.96%
按下载量换算66

Antigravity

19.43%
按下载量换算56

OpenCode

11.53%
按下载量换算33

windsurf

7.63%
按下载量换算22

Codex

3.26%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills