BREAKING CHANGES: - Remove -cskill suffix from all skill names (use standard kebab-case) - Simplify marketplace.json to only official fields (fixes Issue #5) - SKILL.md body must be <500 lines (progressive disclosure via references/) New features: - Cross-platform support for 8+ platforms (Claude Code, Copilot, Cursor, Windsurf, Cline, Codex CLI, Gemini CLI) - scripts/install-template.sh: Auto-detect platform installer with --dry-run - scripts/validate.py: Spec compliance checker for generated skills - scripts/security_scan.py: Security scanner for hardcoded keys and dangerous patterns - MIGRATION.md: v3.x to v4.0 migration guide - 6 new reference files for progressive disclosure from lean SKILL.md Key changes: - SKILL.md: 4,116 → 272 lines with spec-compliant YAML frontmatter - marketplace.json: Stripped to {name, plugins} only - article-to-prototype-cskill/ → article-to-prototype/ - stock-analyzer-cskill/ → stock-analyzer/ - Export system integrates validation + security scanning - README.md rewritten for all supported platforms - Phase 5 pipeline outputs SKILL.md-first, spec-compliant skills Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
# SC-022: Generated Skills Include install.sh
|
|
|
|
> Covers: FR-015 — Generated skills MUST include an `install.sh` script that auto-detects the platform
|
|
> Type: Happy Path
|
|
|
|
## Given
|
|
- The meta-skill is invoked with: "Create a skill for log analysis"
|
|
|
|
## When
|
|
- Phase 5 generates the complete skill directory
|
|
|
|
## Then
|
|
- An `install.sh` file exists in the root of the generated skill directory
|
|
- The file is executable (`chmod +x`)
|
|
- The script contains platform auto-detection logic (checks for `~/.claude/`, `~/.github/`, etc.)
|
|
- Running `./install.sh --dry-run` shows what would happen without making changes
|
|
|
|
## Verification Method
|
|
|
|
**Method**: CLI command
|
|
|
|
**Steps**:
|
|
1. Run the meta-skill to generate the skill
|
|
2. Run: `test -f log-analysis/install.sh && echo "EXISTS" || echo "MISSING"`
|
|
3. Run: `test -x log-analysis/install.sh && echo "EXECUTABLE" || echo "NOT EXECUTABLE"`
|
|
4. Run: `grep -c "auto-detect\|platform\|claude\|copilot\|cursor" log-analysis/install.sh`
|
|
5. Run: `./log-analysis/install.sh --dry-run`
|
|
|
|
**Expected evidence**: File exists and is executable. Script contains platform detection strings. Dry run outputs detected platform and intended installation path without making changes.
|