@jahanxu/code-flow 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +0,0 @@
1
- # cf-inject
2
-
3
- 手动注入指定领域或文件路径对应的规范(Hook 失败时回退)。
4
-
5
- ## Usage
6
- - `/cf-inject frontend|backend`
7
- - `/cf-inject path/to/file.ext`
8
- - `/cf-inject --list-specs --domain=frontend`
9
-
10
- ## Command
11
- - `python3 .code-flow/scripts/cf_inject.py [domain|file_path]`
12
- - `python3 .code-flow/scripts/cf_inject.py --list-specs --domain=frontend`
@@ -1,11 +0,0 @@
1
- # cf-learn
2
-
3
- 将经验沉淀到对应规范的 Learnings 段落。
4
-
5
- ## Usage
6
- - `/cf-learn --scope=global --content="..." `
7
- - `/cf-learn --scope=frontend --content="..." --file=frontend/component-specs.md`
8
- - `/cf-learn --scope=backend --content="..." --file=backend/logging.md`
9
-
10
- ## Command
11
- - `python3 .code-flow/scripts/cf_learn.py --scope=global|frontend|backend --content=\"...\" [--file=spec] [--dry-run]`
@@ -1,12 +0,0 @@
1
- # cf-scan
2
-
3
- 审计规范文件的 token 分布与问题提示。
4
-
5
- ## Usage
6
- - `/cf-scan`
7
- - `/cf-scan --json`
8
- - `/cf-scan --only-issues`
9
- - `/cf-scan --limit=10`
10
-
11
- ## Command
12
- - `python3 .code-flow/scripts/cf_scan.py [--json] [--only-issues] [--limit=N]`
@@ -1,11 +0,0 @@
1
- # cf-stats
2
-
3
- 统计 L0/L1 规范 token 使用情况。
4
-
5
- ## Usage
6
- - `/cf-stats`
7
- - `/cf-stats --human`
8
- - `/cf-stats --domain=frontend`
9
-
10
- ## Command
11
- - `python3 .code-flow/scripts/cf_stats.py [--human] [--domain=frontend]`
@@ -1,12 +0,0 @@
1
- # cf-validate
2
-
3
- 基于变更文件执行验证规则(类型检查/测试/lint)。
4
-
5
- ## Usage
6
- - `/cf-validate`
7
- - `/cf-validate path/to/file.py`
8
- - `/cf-validate --files=src/a.ts,src/b.ts`
9
- - `/cf-validate --only-failed`
10
-
11
- ## Command
12
- - `python3 .code-flow/scripts/cf_validate.py [file_path] [--files=...] [--only-failed] [--json-short] [--output=table]`