@ia-ccun/code-agent-cli 0.0.59-beta.5 → 0.0.59-beta.6

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.
Files changed (126) hide show
  1. package/config/agent/extensions/aicode-provider-scope.ts +388 -0
  2. package/config/agent/skills/agent-browser/LICENSE +201 -0
  3. package/config/agent/skills/agent-browser/SKILL.md +55 -0
  4. package/config/agent/skills/codebase-design/DEEPENING.md +37 -0
  5. package/config/agent/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  6. package/config/agent/skills/{chroma → codebase-design}/LICENSE +1 -1
  7. package/config/agent/skills/codebase-design/SKILL.md +118 -0
  8. package/config/agent/skills/codebase-design/agents/openai.yaml +3 -0
  9. package/config/agent/skills/domain-modeling/ADR-FORMAT.md +47 -0
  10. package/config/agent/skills/domain-modeling/GLOSSARY-FORMAT.md +61 -0
  11. package/config/agent/skills/{fireworks-tech-graph → domain-modeling}/LICENSE +1 -1
  12. package/config/agent/skills/domain-modeling/SKILL.md +78 -0
  13. package/config/agent/skills/domain-modeling/agents/openai.yaml +3 -0
  14. package/config/agent/skills/frontend-design/SKILL.md +55 -26
  15. package/config/agent/skills/grill-with-docs/LICENSE +21 -0
  16. package/config/agent/skills/grill-with-docs/SKILL.md +21 -0
  17. package/config/agent/skills/grill-with-docs/agents/openai.yaml +5 -0
  18. package/config/agent/skills/grilling/LICENSE +21 -0
  19. package/config/agent/skills/grilling/SKILL.md +34 -0
  20. package/config/agent/skills/grilling/agents/openai.yaml +3 -0
  21. package/config/agent/skills/tdd/LICENSE +21 -0
  22. package/config/agent/skills/tdd/SKILL.md +42 -0
  23. package/config/agent/skills/tdd/agents/openai.yaml +3 -0
  24. package/config/agent/skills/tdd/mocking.md +59 -0
  25. package/config/agent/skills/tdd/tests.md +77 -0
  26. package/config/agent/skills/ui-taste/CHECKSUMS.sha256 +25 -0
  27. package/config/agent/skills/{milvus-skill → ui-taste}/LICENSE +12 -23
  28. package/config/agent/skills/ui-taste/MANIFEST.json +256 -0
  29. package/config/agent/skills/ui-taste/MODIFICATIONS.md +23 -0
  30. package/config/agent/skills/ui-taste/NOTICE +74 -0
  31. package/config/agent/skills/ui-taste/SKILL.md +90 -0
  32. package/config/agent/skills/ui-taste/agents/openai.yaml +4 -0
  33. package/config/agent/skills/ui-taste/reference/anti-slop-craft.md +138 -0
  34. package/config/agent/skills/ui-taste/reference/audit.md +71 -0
  35. package/config/agent/skills/ui-taste/reference/audit.native.md +78 -0
  36. package/config/agent/skills/ui-taste/reference/craft.md +48 -0
  37. package/config/agent/skills/ui-taste/reference/distill.md +20 -0
  38. package/config/agent/skills/ui-taste/reference/image-assets.md +31 -0
  39. package/config/agent/skills/ui-taste/reference/ios.md +35 -0
  40. package/config/agent/skills/ui-taste/reference/mobile-controls.md +37 -0
  41. package/config/agent/skills/ui-taste/reference/mobile-state-performance.md +34 -0
  42. package/config/agent/skills/ui-taste/reference/native-verification.md +33 -0
  43. package/config/agent/skills/ui-taste/reference/new-work.md +87 -0
  44. package/config/agent/skills/ui-taste/reference/operate.md +37 -0
  45. package/config/agent/skills/ui-taste/reference/overdrive.md +65 -0
  46. package/config/agent/skills/ui-taste/reference/polish.md +63 -0
  47. package/config/agent/skills/ui-taste/reference/research.md +45 -0
  48. package/config/agent/skills/ui-taste/references/uizze-image-to-ui.md +77 -0
  49. package/config/agent/skills/ui-taste/references/uizze-reference-policy.md +27 -0
  50. package/config/agent/skills/ui-taste/references/uizze-visual-verification.md +62 -0
  51. package/config/agent/skills/ui-taste/scripts/verify-visual-evidence.mjs +108 -0
  52. package/package.json +5 -5
  53. package/config/agent/skills/chroma/chroma-local/SKILL.md +0 -165
  54. package/config/agent/skills/chroma/chroma-local/cli.md +0 -48
  55. package/config/agent/skills/chroma/chroma-local/data-model.md +0 -103
  56. package/config/agent/skills/chroma/chroma-local/error-handling/python.md +0 -166
  57. package/config/agent/skills/chroma/chroma-local/error-handling/typescript.md +0 -231
  58. package/config/agent/skills/chroma/chroma-local/local-chroma/python.md +0 -95
  59. package/config/agent/skills/chroma/chroma-local/local-chroma/typescript.md +0 -101
  60. package/config/agent/skills/chroma/chroma-local/metadata/python.md +0 -154
  61. package/config/agent/skills/chroma/chroma-local/metadata/typescript.md +0 -153
  62. package/config/agent/skills/chroma/chroma-local/querying/python.md +0 -147
  63. package/config/agent/skills/chroma/chroma-local/querying/typescript.md +0 -157
  64. package/config/agent/skills/chroma/chroma-local/regex/python.md +0 -69
  65. package/config/agent/skills/chroma/chroma-local/regex/typescript.md +0 -71
  66. package/config/agent/skills/chroma/chroma-local/understanding-a-codebase.md +0 -80
  67. package/config/agent/skills/chroma/chroma-local/updating-deleting/python.md +0 -159
  68. package/config/agent/skills/chroma/chroma-local/updating-deleting/typescript.md +0 -228
  69. package/config/agent/skills/find-skills/SKILL.md +0 -137
  70. package/config/agent/skills/fireworks-tech-graph/README.md +0 -528
  71. package/config/agent/skills/fireworks-tech-graph/README.zh.md +0 -499
  72. package/config/agent/skills/fireworks-tech-graph/SKILL.md +0 -538
  73. package/config/agent/skills/fireworks-tech-graph/agentloop-core.svg +0 -101
  74. package/config/agent/skills/fireworks-tech-graph/agents/openai.yaml +0 -4
  75. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style1-flat.png +0 -0
  76. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style2-dark.png +0 -0
  77. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style3-blueprint.png +0 -0
  78. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style4-notion.png +0 -0
  79. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style5-glass.png +0 -0
  80. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style6-claude.png +0 -0
  81. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style7-openai.png +0 -0
  82. package/config/agent/skills/fireworks-tech-graph/fixtures/agent-memory-types-style4.json +0 -181
  83. package/config/agent/skills/fireworks-tech-graph/fixtures/api-flow-style7.json +0 -40
  84. package/config/agent/skills/fireworks-tech-graph/fixtures/mem0-style1.json +0 -297
  85. package/config/agent/skills/fireworks-tech-graph/fixtures/microservices-style3.json +0 -64
  86. package/config/agent/skills/fireworks-tech-graph/fixtures/multi-agent-style5.json +0 -45
  87. package/config/agent/skills/fireworks-tech-graph/fixtures/system-architecture-style6.json +0 -48
  88. package/config/agent/skills/fireworks-tech-graph/fixtures/tool-call-style2.json +0 -182
  89. package/config/agent/skills/fireworks-tech-graph/package.json +0 -42
  90. package/config/agent/skills/fireworks-tech-graph/references/icons.md +0 -406
  91. package/config/agent/skills/fireworks-tech-graph/references/style-1-flat-icon.md +0 -108
  92. package/config/agent/skills/fireworks-tech-graph/references/style-2-dark-terminal.md +0 -107
  93. package/config/agent/skills/fireworks-tech-graph/references/style-3-blueprint.md +0 -113
  94. package/config/agent/skills/fireworks-tech-graph/references/style-4-notion-clean.md +0 -94
  95. package/config/agent/skills/fireworks-tech-graph/references/style-5-glassmorphism.md +0 -125
  96. package/config/agent/skills/fireworks-tech-graph/references/style-6-claude-official.md +0 -209
  97. package/config/agent/skills/fireworks-tech-graph/references/style-7-openai.md +0 -215
  98. package/config/agent/skills/fireworks-tech-graph/references/style-diagram-matrix.md +0 -135
  99. package/config/agent/skills/fireworks-tech-graph/references/svg-layout-best-practices.md +0 -100
  100. package/config/agent/skills/fireworks-tech-graph/scripts/README.md +0 -244
  101. package/config/agent/skills/fireworks-tech-graph/scripts/generate-diagram.sh +0 -157
  102. package/config/agent/skills/fireworks-tech-graph/scripts/generate-from-template.py +0 -1556
  103. package/config/agent/skills/fireworks-tech-graph/scripts/test-all-styles.sh +0 -135
  104. package/config/agent/skills/fireworks-tech-graph/scripts/validate-svg.sh +0 -292
  105. package/config/agent/skills/fireworks-tech-graph/templates/agent-architecture.svg +0 -28
  106. package/config/agent/skills/fireworks-tech-graph/templates/architecture.svg +0 -23
  107. package/config/agent/skills/fireworks-tech-graph/templates/comparison-matrix.svg +0 -14
  108. package/config/agent/skills/fireworks-tech-graph/templates/data-flow.svg +0 -28
  109. package/config/agent/skills/fireworks-tech-graph/templates/er-diagram.svg +0 -21
  110. package/config/agent/skills/fireworks-tech-graph/templates/flowchart.svg +0 -21
  111. package/config/agent/skills/fireworks-tech-graph/templates/sequence.svg +0 -20
  112. package/config/agent/skills/fireworks-tech-graph/templates/state-machine.svg +0 -20
  113. package/config/agent/skills/fireworks-tech-graph/templates/timeline.svg +0 -19
  114. package/config/agent/skills/fireworks-tech-graph/templates/use-case.svg +0 -21
  115. package/config/agent/skills/hello/SKILL.md +0 -26
  116. package/config/agent/skills/librarian/SKILL.md +0 -199
  117. package/config/agent/skills/milvus-skill/README.md +0 -37
  118. package/config/agent/skills/milvus-skill/SKILL.md +0 -259
  119. package/config/agent/skills/milvus-skill/references/collection.md +0 -86
  120. package/config/agent/skills/milvus-skill/references/database.md +0 -24
  121. package/config/agent/skills/milvus-skill/references/index.md +0 -69
  122. package/config/agent/skills/milvus-skill/references/partition.md +0 -29
  123. package/config/agent/skills/milvus-skill/references/patterns.md +0 -150
  124. package/config/agent/skills/milvus-skill/references/user-role.md +0 -90
  125. package/config/agent/skills/milvus-skill/references/vector.md +0 -247
  126. package/config/agent/skills/pr/SKILL.md +0 -59
@@ -1,157 +0,0 @@
1
- #!/bin/bash
2
- # SVG Diagram Generation - Validates and exports SVG diagrams with PNG export
3
-
4
- set -euo pipefail
5
-
6
- # Colors
7
- RED='\033[0;31m'
8
- GREEN='\033[0;32m'
9
- YELLOW='\033[1;33m'
10
- BLUE='\033[0;34m'
11
- NC='\033[0m'
12
-
13
- # Default values
14
- STYLE="1"
15
- WIDTH="1920"
16
- OUTPUT_DIR="."
17
- VALIDATE=true
18
-
19
- # Valid diagram types
20
- VALID_TYPES="architecture|data-flow|flowchart|sequence|comparison|timeline|mind-map|agent|memory|use-case|class|state-machine|er-diagram|network-topology"
21
-
22
- usage() {
23
- cat << USAGE
24
- Usage: $0 [OPTIONS]
25
-
26
- Options:
27
- -t, --type TYPE Diagram type ($VALID_TYPES)
28
- -s, --style STYLE Style number (1-7, default: 1)
29
- -o, --output PATH Output path (default: current directory)
30
- -w, --width WIDTH PNG width in pixels (default: 1920)
31
- --no-validate Skip validation
32
- -h, --help Show this help
33
-
34
- Examples:
35
- $0 -t architecture -s 1 -o ./output/arch.svg
36
- $0 -t class -s 2 -w 2400
37
- $0 -t sequence -s 6
38
- USAGE
39
- exit 0
40
- }
41
-
42
- # Parse arguments
43
- while [[ $# -gt 0 ]]; do
44
- case $1 in
45
- -t|--type)
46
- TYPE="$2"
47
- shift 2
48
- ;;
49
- -s|--style)
50
- STYLE="$2"
51
- shift 2
52
- ;;
53
- -o|--output)
54
- OUTPUT_PATH="$2"
55
- shift 2
56
- ;;
57
- -w|--width)
58
- WIDTH="$2"
59
- shift 2
60
- ;;
61
- --no-validate)
62
- VALIDATE=false
63
- shift
64
- ;;
65
- -h|--help)
66
- usage
67
- ;;
68
- *)
69
- echo -e "${RED}Unknown option: $1${NC}"
70
- usage
71
- ;;
72
- esac
73
- done
74
-
75
- # Check required parameters
76
- if [ -z "${TYPE:-}" ]; then
77
- echo -e "${RED}Error: Diagram type is required${NC}"
78
- usage
79
- fi
80
-
81
- # Validate type
82
- VALID_TYPE=false
83
- for t in architecture data-flow flowchart sequence comparison timeline mind-map agent memory use-case class state-machine er-diagram network-topology; do
84
- if [ "$TYPE" = "$t" ]; then
85
- VALID_TYPE=true
86
- break
87
- fi
88
- done
89
-
90
- if [ "$VALID_TYPE" = false ]; then
91
- echo -e "${RED}Error: Invalid diagram type '$TYPE'${NC}"
92
- echo "Valid types: $VALID_TYPES"
93
- exit 1
94
- fi
95
-
96
- # Determine output path
97
- if [ -z "${OUTPUT_PATH:-}" ]; then
98
- BASENAME="${TYPE}-style${STYLE}"
99
- SVG_FILE="${OUTPUT_DIR}/${BASENAME}.svg"
100
- PNG_FILE="${OUTPUT_DIR}/${BASENAME}.png"
101
- else
102
- SVG_FILE="$OUTPUT_PATH"
103
- PNG_FILE="${OUTPUT_PATH%.svg}.png"
104
- fi
105
-
106
- echo -e "${BLUE}Generating ${TYPE} diagram (style ${STYLE})...${NC}"
107
- echo "Output: $SVG_FILE"
108
-
109
- # Load style reference
110
- SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
111
- STYLE_FILE=$(find "${SKILL_DIR}/references" -maxdepth 1 -type f -name "style-${STYLE}-*.md" | head -n 1)
112
-
113
- if [ -z "${STYLE_FILE:-}" ] || [ ! -f "$STYLE_FILE" ]; then
114
- echo -e "${RED}Error: Style file not found: ${STYLE_FILE}${NC}"
115
- echo "Available styles: 1-7"
116
- exit 1
117
- fi
118
-
119
- # Note: Actual SVG generation is done by Claude Code
120
- # This script provides validation and export only
121
-
122
- echo -e "${YELLOW}Note: SVG content generation requires Claude Code${NC}"
123
- echo -e "${YELLOW}This script provides validation and export only${NC}"
124
-
125
- # Validate if SVG exists
126
- if [ -f "$SVG_FILE" ]; then
127
- if [ "$VALIDATE" = true ]; then
128
- echo -e "\n${BLUE}Validating SVG...${NC}"
129
- if "${SKILL_DIR}/scripts/validate-svg.sh" "$SVG_FILE"; then
130
- echo -e "${GREEN}Validation passed${NC}"
131
- else
132
- echo -e "${RED}Validation failed${NC}"
133
- exit 1
134
- fi
135
- fi
136
-
137
- # Export PNG
138
- echo -e "\n${BLUE}Exporting PNG (width: ${WIDTH}px)...${NC}"
139
- if command -v rsvg-convert &> /dev/null; then
140
- if rsvg-convert -w "$WIDTH" "$SVG_FILE" -o "$PNG_FILE" 2>/dev/null; then
141
- PNG_SIZE=$(du -h "$PNG_FILE" | cut -f1)
142
- echo -e "${GREEN}PNG exported: $PNG_FILE (${PNG_SIZE})${NC}"
143
- else
144
- echo -e "${RED}PNG export failed${NC}"
145
- exit 1
146
- fi
147
- else
148
- echo -e "${RED}Error: rsvg-convert not found${NC}"
149
- echo "Install with: brew install librsvg"
150
- exit 1
151
- fi
152
- else
153
- echo -e "${YELLOW}SVG file not found. Generate it first with Claude Code.${NC}"
154
- exit 1
155
- fi
156
-
157
- echo -e "\n${GREEN}Done${NC}"