Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/skills-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build With WordPress Skills Agent

on:
workflow_dispatch:
schedule:
- cron: '0 9 * * 1'

permissions:
contents: write
pull-requests: write
issues: write

jobs:
skills-agent:
name: Maintain Live Skills
uses: Automattic/docs-agent/.github/workflows/maintain-docs.yml@main
with:
audience: skills
base_ref: trunk
docs_branch: docs-agent/build-with-wordpress-skills
writable_paths: skills/**,plugins/**/skills/**,plugins/**/README.md
context_repositories: |
[
{
"repo": "Automattic/studio",
"ref": "trunk",
"alias": "studio",
"paths": [
"apps/cli/ai/tools/**",
"apps/cli/ai/system-prompt.ts",
"apps/cli/commands/mcp.ts",
"eval/promptfoo.config.yaml"
]
},
{
"repo": "WordPress/agent-skills",
"ref": "trunk",
"alias": "wordpress-agent-skills",
"paths": [
"skills/**",
"docs/packaging.md",
".github/workflows/ai-skill-maintenance.yml"
]
}
]
verification_commands: |
[
"pnpm build",
"pnpm verify"
]
drift_checks: |
[
{
"command": "git diff --exit-code",
"description": "Generated skill package outputs are committed after build"
}
]
secrets: inherit