feat: Add OurDigital custom skills package (10 skills)
Complete implementation of OurDigital skills with dual-platform support (Claude Desktop + Claude Code) following standardized structure. Skills created: - 01-ourdigital-brand-guide: Brand reference & style guidelines - 02-ourdigital-blog: Korean blog drafts (blog.ourdigital.org) - 03-ourdigital-journal: English essays (journal.ourdigital.org) - 04-ourdigital-research: Research prompts & workflows - 05-ourdigital-document: Notion-to-presentation pipeline - 06-ourdigital-designer: Visual/image prompt generation - 07-ourdigital-ad-manager: Ad copywriting & keyword research - 08-ourdigital-trainer: Training materials & workshop planning - 09-ourdigital-backoffice: Quotes, proposals, cost analysis - 10-ourdigital-skill-creator: Meta skill for creating new skills Features: - YAML frontmatter with "ourdigital" or "our" prefix triggers - Standardized directory structure (code/, desktop/, shared/, docs/) - Shared environment setup (_ourdigital-shared/) - Comprehensive reference documentation - Cross-skill integration support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
# Pre-commit Configuration for Multi-Agent Projects
|
||||
# Save as: .pre-commit-config.yaml (update existing or create new)
|
||||
#
|
||||
# Install: pre-commit install
|
||||
# Run all: pre-commit run --all-files
|
||||
|
||||
repos:
|
||||
# Standard pre-commit hooks
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
exclude: ^\.agent-state/
|
||||
- id: end-of-file-fixer
|
||||
exclude: ^\.agent-state/
|
||||
- id: check-yaml
|
||||
args: [--unsafe] # Allow custom tags in YAML
|
||||
- id: check-json
|
||||
- id: check-toml
|
||||
- id: check-merge-conflict
|
||||
- id: check-added-large-files
|
||||
args: ['--maxkb=500']
|
||||
- id: detect-private-key
|
||||
- id: no-commit-to-branch
|
||||
args: ['--branch', 'main']
|
||||
|
||||
# Python code formatting (if using Python)
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.1.1
|
||||
hooks:
|
||||
- id: black
|
||||
args: ['--line-length=100']
|
||||
language_version: python3
|
||||
|
||||
# Import sorting (if using Python)
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.13.2
|
||||
hooks:
|
||||
- id: isort
|
||||
args: ['--profile=black', '--line-length=100']
|
||||
|
||||
# Linting (if using Python)
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 7.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: ['--max-line-length=100', '--extend-ignore=E203,W503']
|
||||
|
||||
# Custom multi-agent hooks
|
||||
- repo: local
|
||||
hooks:
|
||||
# Ownership verification hook
|
||||
- id: check-ownership
|
||||
name: Check Agent Ownership
|
||||
description: Verify file ownership and locks for multi-agent workflow
|
||||
entry: python tools/check-ownership.py
|
||||
language: python
|
||||
always_run: true
|
||||
pass_filenames: true
|
||||
additional_dependencies:
|
||||
- pyyaml
|
||||
# Only runs when SEO_AGENT_AUTHOR is set
|
||||
# If not set, hook will warn but not block
|
||||
|
||||
# Commit message format hook
|
||||
- id: check-commit-message
|
||||
name: Check Commit Message Format
|
||||
description: Verify commit message follows [Agent] type(scope) format
|
||||
entry: python tools/check-ownership.py --check-commit-msg
|
||||
language: python
|
||||
stages: [commit-msg]
|
||||
additional_dependencies:
|
||||
- pyyaml
|
||||
|
||||
# CI Configuration
|
||||
# These settings are used when running in CI environment
|
||||
ci:
|
||||
autofix_commit_msg: |
|
||||
[CI] auto fixes from pre-commit hooks
|
||||
|
||||
for more information, see https://pre-commit.ci
|
||||
autofix_prs: true
|
||||
autoupdate_branch: ''
|
||||
autoupdate_commit_msg: '[CI] pre-commit autoupdate'
|
||||
autoupdate_schedule: weekly
|
||||
skip: [check-ownership, check-commit-message] # Skip custom hooks in CI
|
||||
submodules: false
|
||||
|
||||
# Default stages - hooks run at these stages unless otherwise specified
|
||||
default_stages: [commit]
|
||||
Reference in New Issue
Block a user