CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ccg-github-sync

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

ccg-github-sync

Sync generated assets to GitHub repositories.

Purpose

After content generation (Project, Exam, SOP, Summary), this skill creates a GitHub repository and pushes the generated files. Each asset gets its own public repository with a standardized naming convention.

When to Use

  • After any CCG generator completes successfully
  • When --github-sync=true flag is set
  • Works with all asset types: Project, Exam, SOP, Summary

Prerequisites

  • GitHub CLI (gh) installed and authenticated
  • Git installed
  • Run gh auth status to verify authentication

Input

The skill expects:

  1. asset_path - Path to the generated asset folder
  2. asset_type - Type of asset (Project, Exam, SOP, Summary)
  3. discovery_json - Path to discovery.json with metadata

Repository Configuration

SettingValue
Namingccg_{AssetType}_{SynthesizedName}
VisibilityPublic
Description"{Tech} {type} - {short description}"

Workflow

  1. Read discovery.json for metadata
  2. Create .gitignore based on tech stack
  3. Initialize git repository
  4. Commit all files with "init commit"
  5. Create GitHub repo or push to existing

.gitignore Templates

Based on primary tech stack (references gh-repo skill templates):

TechTemplate
RustCargo, target/, *.pdb
Pythonpycache, venv/, *.pyc
JavaScript/TypeScriptnode_modules/, dist/, .next/
Gobin/, *.exe, vendor/
Javatarget/, *.class, .gradle/
C#bin/, obj/, *.dll

Falls back to universal template if tech not recognized.

Output

Returns JSON:

{
  "success": true,
  "repo_name": "ccg_Project_RustSoftwareDevelopment",
  "repo_url": "https://github.com/user/ccg_Project_RustSoftwareDevelopment",
  "action": "created"  // or "updated"
}

On failure:

{
  "success": false,
  "error": "gh repo create failed: network timeout",
  "repo_name": "ccg_Project_RustSoftwareDevelopment"
}

Error Handling

  • Network failures: Return error, don't halt pipeline
  • Repo exists: Push new commit to existing repo
  • Auth expired: Return error with auth instructions
  • Invalid tech: Use universal .gitignore

CLI Usage

# Direct invocation (for testing)
python github_sync.py <asset_path> --type Project --discovery <path>

# Via CCKnowledgeExtractor
bun run src/index.ts -i ./courses -ccg Project --github-sync=true
Repository

KennethJefferson/cc_sdk_knowledge_extractor

Path

skills/ccg-github-sync/SKILL.md

Last updated
First committed

Also appears in

KennethJefferson/ccg_app_typescript_KnowledgeSynthesizer
In sync

since Nov 5, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.