Skip to content

Commit 0ea08e4

Browse files
fix: add Backstage maintenance commands to monorepo-workspace-routing skill (#3519)
Add Step 5 to run `yarn fix`, `yarn build:api-reports`, and `yarn dedupe` after dependency installation. These commands synchronize package metadata, generate API report files, and deduplicate the lockfile — fixing three CI gates that reject agent PRs when these artifacts are out of sync. Closes #3517 Co-authored-by: fullsend-code <278716306+fullsend-ai-coder[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f2b9c97 commit 0ea08e4

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

  • .fullsend/customized/skills/monorepo-workspace-routing

.fullsend/customized/skills/monorepo-workspace-routing/SKILL.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@ YARN_ENABLE_SCRIPTS=false yarn install --immutable
6666

6767
After install, workspace-specific tools become available (e.g., `yarn openspec:validate`).
6868

69+
## Step 5: Synchronize Backstage metadata and generated files
70+
71+
After installing dependencies, run Backstage maintenance commands to ensure
72+
all generated files and metadata are in sync. These commands fix CI gates
73+
that check for committed artifacts.
74+
75+
```bash
76+
# Sync package.json metadata (publishConfig, role fields)
77+
yarn fix
78+
79+
# Generate API report files for packages with public exports
80+
yarn build:api-reports
81+
82+
# Deduplicate lockfile entries
83+
yarn dedupe
84+
```
85+
86+
If any of these commands modify files, the changes MUST be included in your
87+
commit. These are not optional — CI will reject the PR if these artifacts
88+
are out of sync.
89+
6990
## Rules
7091

7192
- ALL build, test, lint, and validation commands must run from the workspace root

0 commit comments

Comments
 (0)