Skip to content

Commit b3fa203

Browse files
committed
ci(docs): fetch the shared update-docs skill from pipecat
The workflow told the agent to read the skill at .claude/skills/update-docs/SKILL.md, a path that exists only in pipecat-ai/pipecat. This repo carries the profile beside it but not the skill itself, so every run would have failed on a missing file. The skill is shared deliberately — one copy in pipecat, published through the pipecat-dev-skills marketplace — so the fix is to fetch it rather than to copy it back. A sparse checkout takes only .claude/skills/update-docs at depth 1, into _skill/, and the prompt now points there. pipecat is public, so the default GITHUB_TOKEN is enough; the App token cannot be used here because it is scoped to the docs repo alone. PROFILE_CONTRACT.md already prescribed exactly this step. I wrote it there and then omitted it from the workflows.
1 parent fd50303 commit b3fa203

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/update-docs.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ jobs:
7171
token: ${{ steps.app-token.outputs.token }}
7272
path: _docs
7373

74+
# The update-docs skill is shared and lives in pipecat-ai/pipecat, published
75+
# through the pipecat-dev-skills marketplace. Only the directory holding it
76+
# is fetched; this repo supplies the profile beside it.
77+
- name: Checkout the shared update-docs skill
78+
uses: actions/checkout@v4
79+
with:
80+
repository: pipecat-ai/pipecat
81+
sparse-checkout: .claude/skills/update-docs
82+
sparse-checkout-cone-mode: false
83+
path: _skill
84+
fetch-depth: 1
85+
7486
- name: Record docs baseline
7587
id: docs-base
7688
working-directory: _docs
@@ -125,7 +137,7 @@ jobs:
125137
126138
## Setup
127139
128-
1. Read the shared skill instructions at `.claude/skills/update-docs/SKILL.md`
140+
1. Read the shared skill instructions at `_skill/.claude/skills/update-docs/SKILL.md`
129141
2. Read this repo's profile at `.claude/skills/update-docs/SOURCE_DOC_MAPPING.md`
130142
3. The docs repository is checked out at `./_docs/`
131143

0 commit comments

Comments
 (0)