Files
vibe-coding-cn/Makefile
T
tradecatlabsandGitHub 0920cd4c59 refactor: maintenance - 平铺共享模块并移除lib目录 (#159)
* refactor: toolbox - 收口Context Skills Extensions三域资源

* fix: toolbox - 重定向文集中的嵌套标签链接

* fix: toolbox - 保全被ignore遮蔽的原跟踪事实文件

* refactor: toolbox - 退役workflows残留并平铺原定义

* docs: gongfa - 整理Lambda演算正文并冻结首发来源

* docs: gongfa - 登记Lambda演算天级上品并紧随拼好码

* docs: gongfa - 同步Lambda演算AI引用覆盖

* docs: readme - 移除工具箱怎么用整块

* refactor: skills - 删除16个官方引用仅保留自有入口

* refactor: extensions - 退役33个Skill脚本并清理调用

* refactor: maintenance - 迁移校验测试至.github维护层

* chore: extensions - 移除用户点名的八项程序与资料

* refactor: maintenance - 平铺共享模块并移除lib目录
2026-10-18 13:51:45 +08:00

108 lines
4.6 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Vibe Coding工具箱:资源分三域,测试与校验维护入口统一在.github。
.PHONY: help lint check-links check-details test-details check-doc-structure check-directory-docs check-metadata check-gongfa test-gongfa sync-gongfa-catalog check-gongfa-catalog test-gongfa-catalog sync-faqi-catalog check-faqi-catalog test-faqi-catalog test-source-archive check-ai-citation check-external-resources check-research-raw check-source-facts check-wiki fetch-research-raw sync-doc-toc build test clean clean-deps
MARKDOWNLINT = npx --yes markdownlint-cli@0.48.0
MAINT = .github
EXT = $(MAINT)/extensions
# 原tools/external各来源分别平铺;不能忽略整个Extensions,否则会漏掉自有工具。
SOURCE_IGNORES = --ignore .history --ignore '$(EXT)/Skill_Seekers-development/**' --ignore '$(EXT)/claude-official-skills/**' --ignore '$(EXT)/tmux/**' --ignore '$(EXT)/oh-my-tmux/**' --ignore '.github/context/research/**/raw/repository/**' --ignore '.github/context/research/facts/**' --ignore '.github/context/research/vibe-cybersecurity-cn/**' --ignore '.github/context/research/vibe-harness-cn/**' --ignore '.github/context/research/vibe-mathing-cn-public/**'
help:
@echo "Vibe Coding工具箱"
@echo "lint / check-links / check-details / test-details:Markdown格式、内链、折叠与回归"
@echo "check-doc-structure / check-directory-docs / check-metadata:阅读结构、目录职责与机器索引"
@echo "check-gongfa / test-gongfa:功法来源与既有评级协议"
@echo "sync-gongfa-catalog / check-gongfa-catalog / test-gongfa-catalog:功法单一Markdown视图"
@echo "sync-faqi-catalog / check-faqi-catalog / test-faqi-catalog:法器来源与单一Markdown视图"
@echo "test-source-archive:原始字节、摘要、来源边界和文集导航契约"
@echo "check-ai-citation / check-external-resources:AI引用与资源登记"
@echo "check-research-raw / check-source-facts:研究事实及来源镜像"
@echo "check-wiki WIKI_DIR=<本地目录>:独立Wiki检查"
@echo "fetch-research-raw:显式联网刷新研究原始事实,不属于日常测试"
@echo "sync-doc-toc:同步自有文档目录;生成文集由各自sync目标维护"
@echo "build:说明本仓无需构建;test:运行本地质量检查"
@echo "clean / clean-deps:现有清理入口,有删除副作用;不作为验证命令执行"
lint:
@$(MARKDOWNLINT) --config .github/lint_config.json $(SOURCE_IGNORES) '**/*.md' '.github/context/**/*.md' '.github/skills/**/*.md' '.github/extensions/**/*.md' '.github/*.md'
check-links:
@python3 $(MAINT)/check-local-links.py
check-details:
@python3 $(MAINT)/check-markdown-details.py
test-details:
@python3 $(MAINT)/test-markdown-details.py
check-doc-structure:
@python3 $(MAINT)/check-doc-structure.py
check-directory-docs:
@python3 $(MAINT)/check-directory-docs.py
check-metadata:
@python3 $(MAINT)/check-metadata.py
check-gongfa:
@python3 $(MAINT)/check-gongfa.py
test-gongfa:
@python3 $(MAINT)/test-gongfa.py
sync-gongfa-catalog:
@python3 $(EXT)/sync-gongfa-catalog.py --write
check-gongfa-catalog:
@python3 $(EXT)/sync-gongfa-catalog.py --check
test-gongfa-catalog:
@python3 $(MAINT)/test-gongfa-catalog.py
sync-faqi-catalog:
@python3 $(EXT)/sync-faqi-catalog.py --write
check-faqi-catalog:
@python3 $(EXT)/sync-faqi-catalog.py --check
test-faqi-catalog:
@python3 $(MAINT)/test-faqi-catalog.py
test-source-archive:
@python3 $(MAINT)/test-source-archive.py
check-ai-citation:
@python3 $(MAINT)/check-ai-citation.py
check-external-resources:
@python3 $(MAINT)/check-external-resources.py
check-research-raw:
@python3 $(MAINT)/check-research-raw.py
check-source-facts:
@python3 $(MAINT)/check-source-facts.py
check-wiki:
@python3 $(MAINT)/check-wiki.py --wiki-dir "$${WIKI_DIR:-/tmp/vibe-coding-cn.wiki}"
@$(MARKDOWNLINT) --config .github/lint_config.json "$${WIKI_DIR:-/tmp/vibe-coding-cn.wiki}"/*.md
fetch-research-raw:
@python3 $(EXT)/fetch-research-raw.py
sync-doc-toc:
@python3 $(EXT)/sync-doc-toc.py
build:
@echo "无需构建;本仓是文档、既有Skills和小工具的资源集合。"
test: lint check-links check-details test-details check-doc-structure check-directory-docs check-metadata check-gongfa test-gongfa check-gongfa-catalog test-gongfa-catalog check-faqi-catalog test-faqi-catalog test-source-archive check-ai-citation check-external-resources check-research-raw check-source-facts
@echo "本地质量检查完成;不代表工具效果、运行可用性或许可批准。"
clean: clean-deps
@find . -type d -name '__pycache__' -prune -exec rm -rf {} +
@rm -rf .github/extensions/prompts-library/prompt_jsonl
clean-deps:
@rm -rf node_modules