Skip to content

fix: install a Codex-safe root skill#330

Open
tsubasakong wants to merge 1 commit intogarrytan:mainfrom
tsubasakong:fix/codex-skill-description-limit
Open

fix: install a Codex-safe root skill#330
tsubasakong wants to merge 1 commit intogarrytan:mainfrom
tsubasakong:fix/codex-skill-description-limit

Conversation

@tsubasakong
Copy link

Summary

  • cap generated Codex frontmatter descriptions at the host's 1024-character limit
  • point Codex setup's ~/.codex/skills/gstack root symlink at .agents/skills/gstack so Codex loads the generated Codex root skill instead of the Claude-format repo root
  • add regression coverage for both the description limit and the Codex root install path, and regenerate the affected generated skill docs

Test Plan

  • bun test test/gen-skill-docs.test.ts
  • bun run gen:skill-docs --dry-run
  • bun run gen:skill-docs --host codex --dry-run
  • bun run skill:check
  • HOME=$(mktemp -d) bash ./setup --host codex and verified ~/.codex/skills/gstack points to .agents/skills/gstack/

Notes

  • bun test is still red on current main outside this diff. In my run the unrelated failures were in test/skill-e2e-browse.test.ts and multiple assertions/timeouts in browse/test/commands.test.ts.
  • autoplan/SKILL.md and .agents/skills/gstack-autoplan/SKILL.md were already stale relative to the current generator output, so they were refreshed here to keep the generated-file checks green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant