197 lines
5.9 KiB
JSON
197 lines
5.9 KiB
JSON
{
|
||
"schema_version": 1,
|
||
"id": "common",
|
||
"version": 1,
|
||
"bootstrap_files": [
|
||
"tools/cursor_init.py",
|
||
"tests/test_cursor_init.py"
|
||
],
|
||
"canonical_files": [
|
||
".cursor/hooks.json",
|
||
".cursor/local-env.example.json",
|
||
".cursor/README.md",
|
||
".cursor/README.html",
|
||
".cursor/rules/common/baserule.mdc",
|
||
".cursor/rules/common/changelog-recall.mdc",
|
||
".cursor/rules/common/cursor-init-recall.mdc",
|
||
".cursor/rules/common/deferred-recall.mdc",
|
||
".cursor/rules/common/dependency-governance.mdc",
|
||
".cursor/rules/common/distillery-recall.mdc",
|
||
".cursor/rules/common/epee-orchestrator.mdc",
|
||
".cursor/rules/common/pitfall-recall.mdc",
|
||
".cursor/rules/common/profile-recall.mdc",
|
||
".cursor/rules/project/.gitkeep",
|
||
".cursor/skills/cursor-init/SKILL.md",
|
||
".cursor/skills/cursor-init/reference.md",
|
||
".cursor/skills/deferred-decisions/SKILL.md",
|
||
".cursor/skills/dev-changelog/SKILL.md",
|
||
".cursor/skills/epee-orchestrator/SKILL.md",
|
||
".cursor/skills/epee-orchestrator/registry.md",
|
||
".cursor/skills/html-doc/SKILL.md",
|
||
".cursor/skills/html-doc/assets/annotate.js",
|
||
".cursor/skills/html-doc/assets/theme.css",
|
||
".cursor/skills/html-doc/templates/skeleton.html",
|
||
".cursor/skills/pitfall-journal/SKILL.md",
|
||
".cursor/skills/problem-distillery/SKILL.md",
|
||
".cursor/skills/profile-memory/SKILL.md",
|
||
".cursor/hooks/README.md",
|
||
".cursor/hooks/run-hook.ps1",
|
||
".cursor/hooks/session-init.ps1",
|
||
".cursor/hooks/session-init.sh",
|
||
".cursor/hooks/check-changelog.ps1",
|
||
".cursor/hooks/check-changelog.sh",
|
||
".cursor/hooks/changelog-scan.json",
|
||
".cursor/hooks/tests/test_check_changelog.py",
|
||
".cursor/changelog/tools/changelog_build.py",
|
||
".cursor/changelog/tools/migrate_changelog.py",
|
||
".cursor/changelog/tools/install-git-hooks.ps1",
|
||
".cursor/changelog/tools/install-git-hooks.sh",
|
||
".cursor/changelog/tools/merge-import.ps1",
|
||
".cursor/changelog/tools/merge-import.sh",
|
||
".cursor/changelog/tools/git-hooks/pre-commit",
|
||
".cursor/changelog/tools/git-hooks/post-merge",
|
||
".cursor/changelog/changelog-full.md",
|
||
".cursor/changelog/changelog-recent.md",
|
||
".cursor/changelog/changelog-headlines.md",
|
||
".cursor/changelog/changelog-by-author.md",
|
||
".cursor/changelog/entries/.gitkeep",
|
||
".cursor/deferred/registry.md",
|
||
".cursor/pitfalls/pitfalls.md",
|
||
".cursor/distillery/problems.md",
|
||
".cursor/distillery/insights.md",
|
||
".cursor/distillery/golden-rules.md",
|
||
".cursor/profile/project-profile.md",
|
||
".cursor/profile/project-profile-log.md"
|
||
],
|
||
"skills": [
|
||
"cursor-init",
|
||
"deferred-decisions",
|
||
"dev-changelog",
|
||
"epee-orchestrator",
|
||
"pitfall-journal",
|
||
"problem-distillery",
|
||
"profile-memory",
|
||
"html-doc"
|
||
],
|
||
"local_env_fields": [
|
||
{
|
||
"key": "shell",
|
||
"example": "powershell",
|
||
"default": "powershell",
|
||
"required": true,
|
||
"prompt": "使用的 shell(powershell、pwsh、bash 或 zsh)",
|
||
"comment_key": "_shell_comment",
|
||
"comment": "Windows 可用 powershell 或 pwsh;使用 Git Bash 时可填 bash。macOS/Linux 通常填 bash 或 zsh。"
|
||
},
|
||
{
|
||
"key": "changelog-author",
|
||
"example": "<your-changelog-handle>",
|
||
"default": "",
|
||
"required": true,
|
||
"prompt": "稳定的 changelog 作者 handle",
|
||
"comment_key": "_changelog_author_comment",
|
||
"comment": "用于 changelog 条目的作者标识,例如团队账号或个人 handle。"
|
||
}
|
||
],
|
||
"scan": {
|
||
"included_names": [],
|
||
"included_extensions": [
|
||
".json",
|
||
".py",
|
||
".ps1",
|
||
".sh"
|
||
],
|
||
"excluded_directories": [
|
||
".git",
|
||
".cursor",
|
||
".godot",
|
||
".vscode",
|
||
"node_modules",
|
||
"__pycache__",
|
||
"venv",
|
||
".venv",
|
||
"dist",
|
||
"build",
|
||
"out",
|
||
"bin",
|
||
"obj",
|
||
"export",
|
||
"exports",
|
||
"coverage",
|
||
"tmp",
|
||
"temp"
|
||
]
|
||
},
|
||
"gitignore_fragments": [
|
||
"fragments/common.gitignore"
|
||
],
|
||
"gitattributes_fragments": [
|
||
"fragments/common.gitattributes"
|
||
],
|
||
"reset_files": [
|
||
{
|
||
"source": "templates/changelog/changelog-full.md",
|
||
"target": ".cursor/changelog/changelog-full.md"
|
||
},
|
||
{
|
||
"source": "templates/changelog/changelog-recent.md",
|
||
"target": ".cursor/changelog/changelog-recent.md"
|
||
},
|
||
{
|
||
"source": "templates/changelog/changelog-headlines.md",
|
||
"target": ".cursor/changelog/changelog-headlines.md"
|
||
},
|
||
{
|
||
"source": "templates/changelog/changelog-by-author.md",
|
||
"target": ".cursor/changelog/changelog-by-author.md"
|
||
},
|
||
{
|
||
"source": "templates/deferred/registry.md",
|
||
"target": ".cursor/deferred/registry.md"
|
||
},
|
||
{
|
||
"source": "templates/pitfalls/pitfalls.md",
|
||
"target": ".cursor/pitfalls/pitfalls.md"
|
||
},
|
||
{
|
||
"source": "templates/distillery/problems.md",
|
||
"target": ".cursor/distillery/problems.md"
|
||
},
|
||
{
|
||
"source": "templates/distillery/insights.md",
|
||
"target": ".cursor/distillery/insights.md"
|
||
},
|
||
{
|
||
"source": "templates/distillery/golden-rules.md",
|
||
"target": ".cursor/distillery/golden-rules.md"
|
||
},
|
||
{
|
||
"source": "templates/profile/project-profile.md",
|
||
"target": ".cursor/profile/project-profile.md"
|
||
},
|
||
{
|
||
"source": "templates/profile/project-profile-log.md",
|
||
"target": ".cursor/profile/project-profile-log.md"
|
||
}
|
||
],
|
||
"cleanup_globs": [
|
||
".cursor/changelog/entries/**/*.md",
|
||
".cursor/changelog/_backup/**/*",
|
||
".cursor/_init-backup/**/*",
|
||
".cursor/**/_backup/**/*",
|
||
".cursor/**/*.bak",
|
||
".cursor/**/*.backup",
|
||
".cursor/**/__pycache__/**/*",
|
||
".cursor/**/*.pyc",
|
||
".cursor/**/*.pyo",
|
||
".cursor/**/*.cache",
|
||
".cursor/**/.cache/**/*",
|
||
".cursor/changelog/.changelog-ack",
|
||
".cursor/changelog/.session-start",
|
||
".cursor/_gitignore-preview",
|
||
".cursor/**/*.tmp",
|
||
".cursor/**/*.temp",
|
||
".cursor/debug-*.log"
|
||
]
|
||
}
|