Commit 1b2360e
committed
feat: Add CI workflows and quality assurance infrastructure
Add comprehensive CI/CD validation and documentation from global .claude/:
**GitHub Actions Workflows** (.github/workflows/):
- validate-dates.yml: Prevents future dates in skill 'Last Updated' fields
- smoke-tests.yml: Two-job validation pipeline
- validate-code-blocks: Python/Swift/Zig syntax validation
- validate-frontmatter: YAML frontmatter compliance (name, description)
**Test Infrastructure** (tests/):
- validate_code_blocks.py: Extracts and validates code blocks by language
- Python: AST parsing for syntax validation
- Swift: swiftc -parse (if available)
- Zig: zig ast-check (if available)
- JavaScript/TypeScript: Basic validation
**Documentation**:
- ENHANCEMENT_PLAN.md: Roadmap for splitting 89 skills >500 lines
- ENHANCEMENTS_SUMMARY.md: Summary of quality improvements
- SKILLS_USAGE_GUIDE.md: Guide for using skills effectively
**Updated Files**:
- CLAUDE.md: Added quality assurance section (as of 2025-10-18)
- Step 4: Updated discovery workflow with meta skills emphasis
- Section 9: Added Quality Standards and Skill Quality Assurance
- Enforcement Checklist: Added Skills Quality Standards
- References to CI validation, frontmatter compliance, size guidelines
- skills/api/api-error-handling.md: Updated timestamps to 2025-10-18
**Quality Standards Enforced**:
✅ All 132 skills have YAML frontmatter (name, description)
✅ All dates validated (no future dates allowed)
✅ Python code blocks validated for syntax
✅ Size optimization tracked (89 skills >500 lines identified)
**CI Benefits**:
- Prevents invalid skill updates (future dates, broken code, missing frontmatter)
- Automated quality checks on every PR and push to main
- Ensures agent compatibility via consistent frontmatter format
- Tracks technical debt (large skills to be split)1 parent a3804bf commit 1b2360e
8 files changed
Lines changed: 1541 additions & 14 deletions
File tree
- .github/workflows
- skills/api
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
235 | 241 | | |
236 | 242 | | |
237 | 243 | | |
| |||
426 | 432 | | |
427 | 433 | | |
428 | 434 | | |
429 | | - | |
430 | | - | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
431 | 443 | | |
432 | 444 | | |
433 | 445 | | |
434 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
435 | 451 | | |
436 | 452 | | |
437 | | - | |
| 453 | + | |
438 | 454 | | |
439 | 455 | | |
440 | 456 | | |
| |||
450 | 466 | | |
451 | 467 | | |
452 | 468 | | |
453 | | - | |
| 469 | + | |
454 | 470 | | |
455 | 471 | | |
456 | 472 | | |
| |||
513 | 529 | | |
514 | 530 | | |
515 | 531 | | |
516 | | - | |
| 532 | + | |
517 | 533 | | |
518 | 534 | | |
519 | 535 | | |
| 536 | + | |
520 | 537 | | |
521 | | - | |
| 538 | + | |
522 | 539 | | |
523 | 540 | | |
524 | | - | |
| 541 | + | |
525 | 542 | | |
526 | 543 | | |
527 | 544 | | |
528 | 545 | | |
529 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
530 | 554 | | |
531 | 555 | | |
532 | 556 | | |
| |||
677 | 701 | | |
678 | 702 | | |
679 | 703 | | |
680 | | - | |
| 704 | + | |
| 705 | + | |
681 | 706 | | |
682 | 707 | | |
683 | 708 | | |
| |||
693 | 718 | | |
694 | 719 | | |
695 | 720 | | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
696 | 730 | | |
697 | 731 | | |
698 | 732 | | |
| |||
0 commit comments