agent-skill-creator/scenarios/SC-057-cross-platform-export-claude-code.scenario.md
francylisboacharuto bac2b27bb8 feat: v4.0 Cross-Platform Modernization — Agent Skills Open Standard compliance
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>
2026-02-26 14:52:09 -03:00

1 KiB

SC-057: Cross-Platform Export for Claude Code

Covers: FR-019, Section 2.2 — Export flow: Claude Code standard directory Type: Happy Path

Given

  • A valid skill directory data-processor/ exists
  • The user wants to export for Claude Code

When

  • The user invokes: "Export this skill for Claude Code"

Then

  • The export generates a standard directory output (ready to copy to ~/.claude/skills/ or .claude/skills/)
  • The output includes all necessary files (SKILL.md, scripts, references, install.sh, README.md)
  • A platform-specific installation guide is provided

Verification Method

Method: Manual test

Steps:

  1. Create a valid skill data-processor/
  2. Invoke: "Export this skill for Claude Code"
  3. Verify the output is a directory (not .zip) with all standard files
  4. Verify installation instructions reference ~/.claude/skills/ and .claude/skills/

Expected evidence: Output is a standard skill directory. Contains SKILL.md, install.sh, README.md. Installation guide references Claude Code paths.