Commit f3901bd
committed
Improve complex mechanical/illustrative diagram quality
Expands the agent's skill files to produce higher-quality mechanical
and illustrative diagrams (cars, airplanes, engines, etc.):
1. Expand illustrative diagram rules in svg-diagram-skill.txt:
- Composition grid zones (illustration, annotation margin, sub-diagram)
- Depth layering order for proper visual stacking
- Shape construction from geometric primitives (not freehand paths)
- Force/motion arrow conventions with color coding
- Annotation hierarchy (primary/secondary/tertiary tiers)
- Cross-section vs side-view guidance
2. Add diagram planning protocol (pre-generation thinking step):
- Subject decomposition, educational priority, spatial layout
- Composition sketch, shape fidelity check, control-to-visual mapping
3. Add progressive rendering pattern for interactive diagrams:
- Centralized state-and-render JS architecture
- Element ID convention (viz-{component}-{property})
- Preset button pattern with slider sync
4. Create mechanical-illustration-skill.txt:
- Shape construction method with worked car/airplane examples
- Spatial accuracy rules with grid overlay technique
- Sub-diagram quality standards (no placeholder rectangles)
- Interactive control binding template with compute/render pattern
5. Add svg-shape-library.txt with reusable path fragments:
- Vehicle profiles (sedan, airplane)
- Mechanical parts (gear, piston, wheel)
- Physics shapes (airfoil, force arrows)
- Annotation elements (zoom callout, dimension lines)
- Control surfaces (rudder, aileron, elevator)
All changes mirrored to both agent and MCP skill directories.
https://claude.ai/code/session_0116PYmVGknEBVfUU8xZT78B1 parent 5d4438b commit f3901bd
8 files changed
Lines changed: 1688 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
221 | 321 | | |
222 | 322 | | |
223 | 323 | | |
| |||
0 commit comments