# Setup

> 当用户首次使用模板、想配置项目信息、需要填写 CLAUDE.md 占位符时使用 — 通过问答自动填写项目信息

- **Type:** Skill
- **Install:** `agentstack add skill-lightpointventures-claude-code-starter-setup`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [lightpointventures](https://agentstack.voostack.com/s/lightpointventures)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [lightpointventures](https://github.com/lightpointventures)
- **Source:** https://github.com/lightpointventures/claude-code-starter/tree/main/skills/setup
- **Website:** https://github.com/lighthouse-strategy/claude-code-starter

## Install

```sh
agentstack add skill-lightpointventures-claude-code-starter-setup
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 项目初始化配置

你要帮用户配置 CLAUDE.md 中的项目信息。

## 步骤

### 1. 检测项目类型

先扫描当前目录，判断是否有现成的技术栈预设：

- 如果存在 pyproject.toml 且依赖 fastapi → 建议使用 Python/FastAPI 预设
- 如果存在 package.json 且依赖 next → 建议使用 Next.js/TypeScript 预设
- 如果只有 .html 文件，无 package.json → 建议使用 纯前端 HTML 预设
- 其他情况 → 使用通用模板

> 检测到你的项目是 [技术栈]，建议使用对应的预设模板，已包含该技术栈的最佳实践和常见陷阱。
> 也可以选择通用模板自己填写。
>
> 1. Python/FastAPI 预设
> 2. Next.js/TypeScript 预设
> 3. 纯前端 HTML 预设
> 4. 通用模板

如果用户选了预设，从 templates/ 目录复制对应模板替换 CLAUDE.md。

### 2. 填写项目信息

依次提问以下信息（每次一个问题，给出默认值建议）：

**问题 1：项目名称**
> 你的项目叫什么名字？
（观察当前目录名作为默认建议）

**问题 2：项目描述**
> 用一句话描述这个项目是做什么的？

**问题 3：运行环境**
> 你的项目跑在什么环境？比如本地 macOS、Docker、Vercel 等
（默认「本地开发」）

如果用户选了通用模板，还需要额外问：
- 技术栈、源代码目录、测试目录、包管理器、Lint 命令、测试命令

如果用户选了预设模板，这些字段已预填好，只替换 {{project_name}}、{{project_description}}、{{environment}}。

### 3. 替换占位符

收集完信息后，替换 CLAUDE.md 中所有 `{{placeholder}}`。

### 4. 确认

展示替换后的「项目基本信息」区块：
> 配置完成，以下是你的项目信息，确认无误吗？

用户确认后保存。如果要修改，回到对应问题。

### 5. 提示下一步

> CLAUDE.md 配置完成。建议：
> - 运行 /daily 开始今天的工作
> - 遇到坑时用 /learn 记录到已知陷阱
> - 做技术决策时用 /learn 记录到决策日志

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [lightpointventures](https://github.com/lightpointventures)
- **Source:** [lightpointventures/claude-code-starter](https://github.com/lightpointventures/claude-code-starter)
- **License:** MIT
- **Homepage:** https://github.com/lighthouse-strategy/claude-code-starter

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lightpointventures-claude-code-starter-setup
- Seller: https://agentstack.voostack.com/s/lightpointventures
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
