玉澜
f86d10ae63
feat(schema): add --compact mode and update SKILL.md schema guide
- Add --compact flag to schema command (canonical.go)
- Implement stripSchemaPayloadCompact to recursively remove provenance/
debug/redundant fields (runtime_schema.go)
- Strip 27 top-level keys (agent_metadata_source, agent_source_refs,
interface_ref, primary_cli_path, etc.) and 3 per-parameter keys
(interface_description, interface_type, property)
- Add 3 tests covering leaf/overview/product compact modes
- Replace stale SKILL.md schema section with progressive query guide,
compact field reference, and schema-vs-help decision table
- Regenerate schema artifacts (make generate-schema)
Size reduction:
leaf: 9.5KB -> 6.0KB (36%)
--all: 644KB -> 414KB (36%)
2026-07-11 13:41:19 +08:00
..
2026-07-11 13:41:19 +08:00
2026-06-11 09:16:36 +08:00
2026-07-11 13:41:19 +08:00
2026-07-07 19:07:03 +08:00
2026-03-27 17:55:57 +08:00
2026-07-11 13:41:19 +08:00
2026-07-11 13:41:19 +08:00
2026-07-11 12:23:55 +08:00
2026-07-11 12:23:55 +08:00
2026-07-11 13:41:19 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 13:41:19 +08:00
2026-07-11 10:28:10 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 01:26:22 +08:00
2026-07-11 01:26:22 +08:00
2026-07-11 10:28:10 +08:00
2026-07-11 01:26:22 +08:00
2026-07-11 01:26:22 +08:00
2026-07-11 10:28:10 +08:00
2026-07-11 10:28:10 +08:00
2026-07-11 01:26:22 +08:00
2026-07-11 12:23:55 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 11:21:44 +08:00
2026-07-11 10:28:10 +08:00
2026-07-11 10:28:10 +08:00
2026-03-27 17:55:57 +08:00
2026-03-27 17:55:57 +08:00
2026-07-11 10:28:10 +08:00
2026-05-19 15:25:39 +08:00
2026-05-19 15:25:39 +08:00