Development & Runtime

want-a-init

mexiaosqwq/want-a-init · ★ 3

mexiaosqwqCurated

Model-driven /init command: the agent analyzes the current repo and generates/updates a high-signal AGENTS.md, with a persistent system-prompt reminder to keep it maintained.

README body is shown in Chinese.

License
MIT
Added
2026-08-16
Maintenance
active
Install kind
github
Manifest details
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add github:mexiaosqwq/want-a-init

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: zh · Read Chinese README

Table of contents
  1. 特性
  2. 安装
  3. 从 GitHub
  4. 从本地路径

DeepSeek Harness 的模型驱动 /init 命令:让 agent 自己分析当前项目,生成/更新一份高信号、仓库特有的 AGENTS.md,并把“持续维护 AGENTS.md”写进 agent 运行逻辑。

Version: 0.1.0 License: MIT DSH: Web Profile

特性

  • 模型驱动初始化:不写死模板,/init 注入高信号 prompt,让 agent 分析仓库后生成/更新 AGENTS.md;
  • 填写式归纳:提供固定骨架(Project / Commands / Architecture / Conventions / Pitfalls / Maintenance),要求 agent 从仓库证据中逐项填写、归纳;没有可验证内容就写 Not documented yet;
  • 模式:/init(默认合并更新)、/init force(强制重写)、/init minimal(约 40 行内)、/init detailed(更详细但无废话);
  • 常驻 agent 意识:通过 DSH systemPrompt 注入 agents-md-maintenance 段落,让每个 agent 会话都记得维护 AGENTS.md;
  • 只维护 AGENTS.md:刻意不创建 CLAUDE.md;
  • 纯 host 插件:无 client/UI、无构建步骤,lib/ 直接提交。

安装

从 GitHub

dsh plugin --profile web add github:mexiaosqwq/want-a-init

从本地路径

dsh plugin --profile web add /path/to/want-a-init