Project Scan logo

Project Scan

CommunityPopular
doccker
project-scan

扫描当前仓库并生成或更新项目级 AGENTS.md / README.md / 全套脚手架文件(restart.sh、ignore、Dockerfile、docker-compose),适用于显式 project-scan、项目认知初始化或刷新项目级 Codex 上下文的场景。

Overview

Publisherdoccker
Repositorycc-use-exp
Skill nameproject-scan
Stars
1.1K
Forks
116
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by doccker on GitHub. Read the source before you install it.

Installation

Install the Project Scan AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/doccker/cc-use-exp/tree/main/.codex/skills/cc-project-scan
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/doccker/cc-use-exp.git /tmp/cc-use-exp
mkdir -p .claude/skills
cp -r /tmp/cc-use-exp/.codex/skills/cc-project-scan .claude/skills/project-scan
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Project Scan in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Project Scan on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Project Scan is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Project Scan

当用户明确要求 project-scan、扫描项目、生成项目级 AGENTS.md、生成或刷新 README.md,或刷新项目级 Codex 上下文时,使用本技能。

不要用于:

  • feature 开发或 bug 修复
  • 无确认地覆盖已有 AGENTS.md、README.md、Dockerfile 或脚本

必须生成的文件清单

扫描结束后,默认按以下清单一次性补齐项目脚手架(已存在的逐个询问"覆盖 / 跳过 / 增量更新"):

序号文件用途
1AGENTS.md项目级 Codex 上下文
2README.md项目说明
3restart.sh前后端打包 + 启动脚本
4.claudeignoreClaude Code 忽略
5.geminiignoreGemini CLI 忽略(内容复制自 .claudeignore)
6.gitignoreGit 忽略
7.dockerignoreDocker 忽略
8Dockerfile容器构建
9docker-compose.yml容器编排

清单不可缩减;与 Claude /project-scan、Cursor 同名命令的产出对齐。

核心方式

  1. 先扫描仓库中的关键信号文件和目录,区分"明确识别"的事实与"基于结构的推断"。
  2. 默认确保项目级 .codex/tasks/、.codex/tasks/archived/、.codex/templates/ 存在;若项目根目录写入触发权限边界,先走平台审批,不静默跳过。
  3. 读取根目录现有 AGENTS.md、README.md、.claude/CLAUDE.md,并复用 cc-project-init/assets/AGENTS.project.md 作为 AGENTS.md 模板来源。
  4. 先输出扫描摘要(含技术栈识别表 + 文件存在情况表),再追问 3-5 个关键问题:项目一句话描述、是否生成全套脚手架、已存在文件的处理策略(覆盖 / 增量 / 跳过)、Docker 暴露端口、API 契约确认。
  5. AGENTS.md / README.md 写入策略:
    • 不存在 → 基于模板生成
    • 已存在且包含 <!-- AUTO:* --> 区块 → 优先增量更新自动区块,保留手写内容
    • 已存在但无自动区块 → 必须先让用户选择"首次全量重建 / 追加自动区块 / 跳过"
  6. 脚手架文件写入策略(restart.sh / ignore / Dockerfile / docker-compose):
    • 不存在 → 从 cc-project-init/assets/ 选模板按技术栈渲染后落盘
    • 已存在 → 询问"覆盖 / 跳过",不静默覆盖
    • .geminiignore 内容必须与 .claudeignore 保持一致
  7. restart.sh 落盘后必须 chmod +x。
  8. 模板选择规则参见 cc-project-init/references/template-selection.md;忽略文件内容规范参见 references/scaffold-files.md。
  9. 完成后输出摘要:已生成文件、已跳过文件、已补齐的 .codex 骨架,以及仍需用户补充的项目事实。

协作约束

  • 项目级 AGENTS.md 模板资产复用 cc-project-init/assets/AGENTS.project.md
  • 脚手架模板复用 cc-project-init/assets/(restart-go.sh.tmpl、Dockerfile-go.tmpl、docker-compose-*.yml.tmpl、gitignore-go.tmpl、dockerignore.tmpl 等)
  • README.md 生成和更新遵循 references/readme-update.md
  • 后续 feature 任务持久化依赖 new-feature
  • 若涉及接口契约总结或列表/分页/筛选结构判断,遵循 cc-api-contract-safety 的方式,不臆测响应结构

输出要求

  • 明确区分"扫描识别"与"待确认项"
  • 明确说明每个文件采用"新建 / 增量更新 / 首次全量重建 / 追加自动区块 / 覆盖 / 跳过"中的哪一种
  • 若补齐了 .codex/tasks/、.codex/tasks/archived/、.codex/templates/,必须明确说明
  • 若已有文件用户选择跳过,要说明后续风险
  • 若接口契约无法从代码或文档确定,在 AGENTS.md 中标注"待用户确认",不要伪造规范
  • 若无法可靠确认启动方式、端口、部署方式或许可证,README.md 中必须标注"待确认",不要编造命令
  • 若仓库无 Cargo.toml、go.mod、pom.xml、package.json 之一可推断技术栈,必须先和用户确认目标技术栈,再选模板,避免按错栈生成脚手架

按需展开

  • 扫描项:references/scan-checks.md
  • 自动区块:references/agents-blocks.md
  • 重建策略:references/rebuild-strategy.md
  • README 更新:references/readme-update.md
  • 脚手架文件清单与忽略文件规范:references/scaffold-files.md
  • 模板选择:cc-project-init/references/template-selection.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Project Scan AI skill do?

扫描当前仓库并生成或更新项目级 AGENTS.md / README.md / 全套脚手架文件(restart.sh、ignore、Dockerfile、docker-compose),适用于显式 project-scan、项目认知初始化或刷新项目级 Codex 上下文的场景。

Why use Project Scan on TypingMind?

Because you install it once and use it with any model. Project Scan is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Project Scan in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/doccker/cc-use-exp/tree/main/.codex/skills/cc-project-scan. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Project Scan?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Project Scan?

As many as you like. As long as a model supports skills, you can use Project Scan with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Project Scan AI skill free?

It is published on GitHub by doccker. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇