Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:20:30 +08:00
commit 99a0814909
14 changed files with 503 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Scripts
Bundled resources for creator-studio-pack skill
- [ ] video_editor_script.py: Automates video editing tasks in DaVinci Resolve based on AI instructions.
- [ ] thumbnail_generator.py: Generates thumbnails based on user-provided keywords and style preferences.
- [ ] seo_optimizer.py: Optimizes video titles and descriptions for SEO based on keyword research.
- [ ] distribution_script.py: Automates the distribution of videos to multiple platforms.
- [ ] analytics_script.py: Collects and analyzes video analytics to provide insights for optimization.

View File

@@ -0,0 +1,42 @@
#!/bin/bash
# Helper script template for skill automation
# Customize this for your skill's specific needs
set -e
function show_usage() {
echo "Usage: $0 [options]"
echo ""
echo "Options:"
echo " -h, --help Show this help message"
echo " -v, --verbose Enable verbose output"
echo ""
}
# Parse arguments
VERBOSE=false
while [[ $# -gt 0 ]]; do
case $1 in
-h|--help)
show_usage
exit 0
;;
-v|--verbose)
VERBOSE=true
shift
;;
*)
echo "Unknown option: $1"
show_usage
exit 1
;;
esac
done
# Your skill logic here
if [ "$VERBOSE" = true ]; then
echo "Running skill automation..."
fi
echo "✅ Complete"

View File

@@ -0,0 +1,32 @@
#!/bin/bash
# Skill validation helper
# Validates skill activation and functionality
set -e
echo "🔍 Validating skill..."
# Check if SKILL.md exists
if [ ! -f "../SKILL.md" ]; then
echo "❌ Error: SKILL.md not found"
exit 1
fi
# Validate frontmatter
if ! grep -q "^---$" "../SKILL.md"; then
echo "❌ Error: No frontmatter found"
exit 1
fi
# Check required fields
if ! grep -q "^name:" "../SKILL.md"; then
echo "❌ Error: Missing 'name' field"
exit 1
fi
if ! grep -q "^description:" "../SKILL.md"; then
echo "❌ Error: Missing 'description' field"
exit 1
fi
echo "✅ Skill validation passed"