Borrowing it
Nothing to install: this file belongs to kinglegendzzh/GitHave. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kinglegendzzh/GitHave/master/CLAUDE.mdgit clone --depth 1 https://github.com/kinglegendzzh/GitHaveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/kinglegendzzh/githave/claude-md)<a href="https://agentmods.dev/instructions/kinglegendzzh/githave/claude-md"><img src="https://agentmods.dev/badge/instructions/kinglegendzzh/githave/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/kinglegendzzh/githave/claude-md"><img src="https://agentmods.dev/badge/instructions/kinglegendzzh/githave/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00819 | $0.00819 |
| Opus 5 | $0.00409 | $0.00409 |
| Sonnet 5 | $0.00164 | $0.00164 |
| Haiku 4.5 | $0.00082 | $0.00082 |
Grade A, and why
GitHave CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
项目:GitHave
AI 驱动的代码仓库助手。技术栈:Electron 35 + Vue 3 + electron-vite + Vuetify 3 + Ant Design Vue。
后端通过 bin/ 下的 Go 二进制(fm、fm_http、bot、app)提供服务。
构建与开发命令
- 安装:
npm install - 开发(启动 Electron):
npm run dev - Lint:
npm run lint - 格式化:
npm run format - 构建(不打包):
npm run build - 打包 mac(当前架构):
npm run build:mac - 打包 mac arm:
npm run build:mac:arm - 打包 mac x64:
npm run build:mac:x64 - 打包 win:
npm run build:win
完整打包流程见 DEVELOP.md。
项目结构速览
src/main/:Electron 主进程入口src/preload/:预加载脚本(contextBridge 暴露 API)src/renderer/src/views/:v1 旧版页面(维护态,不新增功能)src/renderer/src/views3/:v2 新版页面(当前主战场)src/renderer/src/service/:渲染进程业务服务src/renderer/src/store/:Vuex 状态管理bin/:Go 后端二进制 + 配置 + 数据库(不要直接编辑,由独立仓库生成)docs/:项目内部文档(API 协议、UI 指南等)specs/:业务需求规范(SDD 工作流,见.claude/rules/sdd-workflow.md)
模块化规则
详细规范以模块化方式组织在 .claude/rules/,会按路径自动加载:
- 通用代码风格:
.claude/rules/code-style.md - Vue 组件约定:
.claude/rules/vue-conventions.md - Electron 架构边界:
.claude/rules/electron-architecture.md - 安全要求:
.claude/rules/security.md - SDD 规范驱动开发流程:
.claude/rules/sdd-workflow.md
关键工作流
- IMPORTANT:修改
.vue/.js后运行npm run lint验证,必要时npm run format - IMPORTANT:UI 改动必须在 v2(
views3/)下做;v1(views/)只接受 bug 修复 - NEVER:不要修改
bin/下的二进制和数据库文件(*.db、*.exe、fm、fm_http等) - NEVER:不要提交
.env*、密钥、证书;安全规则见.claude/rules/security.md - 业务功能开发使用 SDD 三层文档:
specs/<编号>-<名称>/{spec,plan,tasks}.md
压缩指令
When compacting, preserve:
- 当前任务正在修改的文件完整列表
- 进行中的迁移阶段(v1 → v2 哪些页面已迁移、哪些待迁移)
- 用户给出的具体验证命令和测试结果
- 未完成的 TODO 列表
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 57 lines · 819 tokens per session scan A 03a2d10739d9
GitHave CLAUDE.md is an instructions file published in the GitHub repository kinglegendzzh/GitHave (12 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 819 tokens to every session, about $0.0041 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vibe-coding-prompt-template backend.instructions.md
Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.
vibe-coding-prompt-template tests.instructions.md
Instructions for KhazP/vibe-coding-prompt-template, a project described as: Templates and workflow for generating PRDs, Tech Designs, and MVP and more using LLMs for AI IDEs.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).