npx skills add pauljbernard/contentREADME
GitHub Workflows - Claude Code with Professor Framework
This directory contains GitHub Actions workflows and issue templates for automating content development using Claude Code CLI configured with the Professor framework.
Overview
The Professor framework integration enables automated content development workflows powered by Claude Code CLI with specialized skills, commands, and sub-agents from the private professor repository.
Components
Issue Templates
ISSUE_TEMPLATE/claude-code-setup.yml
Issue template for requesting Claude Code CLI installation/updates with Professor framework configuration.
Usage:
- Create a new issue using the "Setup/Update Claude Code CLI with Professor" template
- Select your desired action (install, update, reconfigure, or reinstall)
- Choose the Professor repository branch
- Submit the issue - the workflow will automatically run
- The issue will be updated with results and closed upon completion
Workflows
claude-code-setup.yml
Automated workflow that installs/updates Claude Code CLI and configures it with the Professor framework.
Triggered by:
- Issues with the
claude-codelabel - Manual workflow dispatch
What it does:
- Installs or updates Claude Code CLI to the latest version
- Clones the Professor framework from the private repository
- Configures Claude Code with:
- Skills from Professor
- Commands (slash commands) from Professor
- Sub-agent configurations
- Framework-specific settings
- Validates the configuration
- Creates a configuration artifact
- Reports results back to the triggering issue
Outputs:
- Configuration summary markdown
- Downloadable artifact with full Claude Code configuration
professor-content-development.yml
Reusable workflow for content development tasks using Claude Code with Professor.
Usage:
jobs:
my-content-task:
uses: ./.github/workflows/professor-content-development.yml
with:
task_description: "Create a technical article about GraphQL best practices"
content_path: "content/articles/"
professor_branch: "main"
create_pr: true
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Inputs:
task_description(required): Description of the content development taskcontent_path(optional): Path to content files (default: '.')professor_branch(optional): Professor framework branch (default: 'main')create_pr(optional): Create a pull request with changes (default: false)
Secrets:
ANTHROPIC_API_KEY(required): Your Anthropic API key for Claude Code
Outputs:
result_summary: JSON summary of the task execution
example-content-workflow.yml
Example workflow demonstrating how to use the Professor content development workflow.
Usage: Run manually via workflow dispatch with:
- Task type selection
- Detailed task description
- Target path for content
Setup Instructions
Prerequisites
-
Access to Professor Repository
- Ensure you have read access to
https://github.com/pauljbernard/professor.git - The repository must contain Claude Code configurations (skills, commands, agents)
- Ensure you have read access to
-
Anthropic API Key
- Obtain an API key from Anthropic Console
- Add it as a repository secret named
ANTHROPIC_API_KEY:- Go to repository Settings → Secrets and variables → Actions
- Click "New repository secret"
- Name:
ANTHROPIC_API_KEY - Value: Your Anthropic API key
-
GitHub Token Permissions
- The default
GITHUB_TOKENneeds access to:- Read private repositories (to clone Professor)
- Write to issues (to update setup issues)
- Write to pull requests (to create PRs)
- The default
Initial Setup
-
Create a setup issue:
- Navigate to Issues → New Issue
- Select "Setup/Update Claude Code CLI with Professor"
- Fill in the form
- Submit
-
Wait for completion:
- The workflow will run automatically
- Progress updates will be posted to the issue
- The issue will be closed when complete
-
Verify configuration:
- Download the configuration artifact from the workflow run
- Review the configuration summary
Using Professor in Workflows
Basic Example
name: Create Article
on:
workflow_dispatch:
inputs:
topic:
description: 'Article topic'
required: true
jobs:
create-article:
uses: ./.github/workflows/professor-content-development.yml
with:
task_description: "Write a comprehensive article about ${{ inputs.topic }}"
content_path: "content/articles/"
create_pr: true
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Advanced Example with Multiple Tasks
name: Content Pipeline
on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9am
jobs:
update-readme:
uses: ./.github/workflows/pr
...