ctxinit

仓库创建 2026年7月27日最近提交 7 小时前SkillHot 收录 3 小时前
这个 Skill 做什么

帮项目从零搭起工程与知识中枢:生成 context/ 知识库、工程与安全规则、ADR(Architecture Decision Records)和技术债登记。常在新项目启动、需要统一规范或给 AI agent 绑定单一上下文时用到,会产出轻量入口文件(如 CLAUDE.md、AGENTS.md)指向 context/。关键特点是把规则和决策做成单一来源,方便 AI 与人都去引用而不是复制。

▸ 展开 SKILL.md 英文原文

Initialize a project's engineering foundation and knowledge hub, and manage its Architecture Decision Records (ADRs). Use whenever the user types /ctxinit, or asks to bootstrap/scaffold a new project's structure, set up a context/ knowledge folder, engineering rules, or security rules. /ctxinit interviews the user about the project's surfaces (admin panel, portal, landing, mobile app, API), then generates a complete context/ hub — rules, docs, plans, decisions (ADR), technical-debt registry, map — plus thin agent entry-point files (CLAUDE.md, AGENTS.md, .cursor stubs) that REFERENCE context/ instead of copying it. /ctxinit --sync (re)generates context/map.md and the component-reuse registry by scanning the current codebase — also use --sync when the user says "update the map", "sync the context", or "list the components". Once a project has a context/decisions/ log, this skill also RECORDS, QUERIES, and SUPERSEDES its ADRs — trigger on "record this decision", "why did we decide X", "di

0
Stars
0
Forks
1
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/VexloCa/ctxinit/main/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/VexloCa/ctxinit/main/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# ctxinit — Project Foundation Initializer + Decision Log

Bootstraps the **`context/` knowledge hub** for a project: binding engineering rules, security law,
component-architecture law, docs, plans, an ADR decision log, and a technical-debt registry — all in
**one place, single-source, never duplicated**. Then wires every AI coding agent (Claude Code, Codex,
Cursor, …) to that one source via thin pointer files. Because the decision log it scaffolds is a
living thing, not a one-time file drop, ctxinit also owns recording, querying, and superseding the
ADRs inside it — that's not a separate skill, it's the same service.

Three modes:

| Invocation | Mode | What it does |
| --- | --- | --- |
|
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有