Skip to content

Add gen-idea skill to Codex installs#101

Open
zhaoxueyan1 wants to merge 2 commits intoPolyArch:devfrom
zhaoxueyan1:codex/gen-idea-codex-skill
Open

Add gen-idea skill to Codex installs#101
zhaoxueyan1 wants to merge 2 commits intoPolyArch:devfrom
zhaoxueyan1:codex/gen-idea-codex-skill

Conversation

@zhaoxueyan1
Copy link
Copy Markdown

Summary

  • add a humanize-gen-idea skill so Codex and Kimi installs expose the existing gen-idea workflow
  • update the shared installer and install docs to sync and document the new skill
  • add wiring regression coverage for gen-idea skill installation and include it in the test runner

Test Plan

  • bash tests/test-gen-idea-wiring.sh
  • bash tests/test-codex-hook-install.sh

Copilot AI review requested due to automatic review settings April 21, 2026 07:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR exposes the existing gen-idea workflow to Codex/Kimi installs by adding a new humanize-gen-idea entrypoint skill, updating the unified installer + install docs, and adding regression coverage to ensure the wiring stays intact.

Changes:

  • Add skills/humanize-gen-idea flow skill and include it in the unified installer’s SKILL_NAMES.
  • Update Codex/Kimi/Claude install docs to mention the new skill/command.
  • Add wiring + install regression tests and include them in the test runner.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skills/humanize-gen-idea/SKILL.md New flow skill that documents the required gen-idea execution sequence for Codex/Kimi entrypoints.
scripts/install-skill.sh Adds humanize-gen-idea to the install set and generalizes installed-layout detection to iterate SKILL_NAMES.
docs/install-for-codex.md Documents that Codex installs now include the humanize-gen-idea skill directory.
docs/install-for-kimi.md Documents that Kimi installs now include the humanize-gen-idea skill and updates manual install steps accordingly.
docs/install-for-claude.md Adds /humanize:gen-idea to the list of post-install commands.
tests/test-gen-idea-wiring.sh New test to assert skill + installer + docs wiring for gen-idea.
tests/test-codex-hook-install.sh Extends Codex install regression to assert humanize-gen-idea is installed.
tests/run-all-tests.sh Adds the new wiring test to the test suite list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/install-for-kimi.md
Comment on lines 73 to 76
# Strip user-invocable flag from SKILL.md files for runtime visibility
# (This matches the behavior of scripts/install-skill.sh)
for skill in humanize humanize-gen-plan humanize-refine-plan humanize-rlcr; do
for skill in humanize humanize-gen-idea humanize-gen-plan humanize-refine-plan humanize-rlcr; do
awk '
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The manual install instructions say this awk step “matches the behavior of scripts/install-skill.sh”, but it only strips user-invocable. The installer’s strip_claude_specific_frontmatter() also removes disable-model-invocation and hide-from-slash-command-tool, so manual installs will produce different SKILL.md frontmatter. Update this snippet to strip the same keys (or adjust the comment to reflect the actual behavior).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9671b42681

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/install-skill.sh
Comment on lines +112 to +114
for skill in "${SKILL_NAMES[@]}"; do
if [[ ! -f "$skills_root/$skill/SKILL.md" ]]; then
all_skills_present="false"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Relax runtime layout check for missing new skill

In resolve_source_layout, the installed-runtime branch now requires every entry in SKILL_NAMES to already exist under skills_root before it accepts the layout. That makes upgrades from pre-humanize-gen-idea installs fail early: running the installer from <skills-dir>/humanize/scripts/install-skill.sh on an older installation exits with could not resolve Humanize source layout instead of syncing the new skill. This is a regression in the script’s in-place upgrade path; the runtime-layout detection should tolerate older skill sets and let the normal sync step add missing entrypoints.

Useful? React with 👍 / 👎.

@SihaoLiu
Copy link
Copy Markdown
Contributor

@shinezyy can you take a look?

@SihaoLiu SihaoLiu requested a review from shinezyy April 22, 2026 22:21
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.

3 participants