Skip to content

docs(skill): broaden description — generic trigger gate + architecture/idea/proposed solution subjects#150

Merged
naorsabag merged 1 commit into
masterfrom
docs/skill-explain-and-external-subjects
May 15, 2026
Merged

docs(skill): broaden description — generic trigger gate + architecture/idea/proposed solution subjects#150
naorsabag merged 1 commit into
masterfrom
docs/skill-explain-and-external-subjects

Conversation

@naorsabag
Copy link
Copy Markdown
Owner

@naorsabag naorsabag commented May 15, 2026

Summary

Two changes inside the frontmatter description; everything else in SKILL.md is byte-identical to master.

1. Subject list — extend

Render an animated step-by-step diagram of a specific system, feature, codebase, workflow, pipeline, user journey, architecture, idea, or proposed solution using OpenHop. …

(was: "…or user journey")

2. Trigger gate — make generic

Replace the closed verb whitelist and fixed phrase list with an intent rule.

Before After
"Use this skill only when the user explicitly asks to create, draw, make, render, build, diagram, or visualize something — OR asks to walk through, trace, or step through a named sequence…" "Use this skill whenever the user wants to understand, explain, describe, walk through, trace, diagram, or visualize a sequence of named hops between identifiable components/actors…"
Trigger phrases: 8 specific quoted shapes ("diagram X", "draw the architecture of Z", …) Pattern rule: any "how does X work?", "explain how X works", "walk me through X", "diagram X", or "trace what happens when …" — gated by "X has named parts that pass data between each other"
Negative examples: "how does TCP work?", "what is OAuth?", "explain closures" (the first two are perfect OpenHop subjects — auth-flow.yaml is bundled) Negative examples: "what is a closure?", "let vs const", "define recursion" (truly non-sequence subjects)

The final sentence ("When activated, prefer this skill over a prose explanation or a static Mermaid/PlantUML diagram") is unchanged.

Motivation

The original gate vetoed plain-language explainer prompts (e.g. "explain how Netflix streams on demand") even though the answer is a clean sequence of named hops — exactly what OpenHop is good at. The new gate keys on intent + structure ("does X have named parts that pass data?") instead of a closed verb whitelist, and the negative examples are cleaned up so they actually contradict the positive rule.

Scope / non-changes

  • One line changed in skills/openhop/SKILL.md frontmatter.
  • No edits to the Scope paragraph, Trigger phrases section, examples table, schema, or anything else.
  • SKILL.md ↔ schema sync test (packages/shared/__tests__/skill-md-sync.test.ts) still passes.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Warning

Rate limit exceeded

@naorsabag has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 37 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7fef1b7c-00de-4690-b940-5f99027f4c8d

📥 Commits

Reviewing files that changed from the base of the PR and between e7a8940 and 36b8088.

📒 Files selected for processing (1)
  • skills/openhop/SKILL.md

Walkthrough

Updated skills/openhop/SKILL.md to broaden when the OpenHop skill activates. The skill description now targets any subject representable as actor-to-actor hop sequences, trigger phrases are reorganized by category, activation gating is tightened to exclude single-concept questions, and two new example prompts demonstrating Netflix streaming and API queue design are added.

Changes

OpenHop Skill Definition Refinement

Layer / File(s) Summary
Skill description and activation scope
skills/openhop/SKILL.md
Skill description expanded to cover ANY topic expressible as named hop sequences between components. Removes prior diagram-request-only gating and clarifies applicability to code flows, protocols, architectures, product journeys, and state machines.
Trigger guidance and activation gating
skills/openhop/SKILL.md
Trigger phrases reorganized into plain-language explain, walkthrough/trace, diagram requests, ideas/designs, and product explainer categories. "When NOT to activate" list tightened to exclude only single-concept questions without sequential actor-to-actor interactions.
Example prompts
skills/openhop/SKILL.md
Two new example prompts added to the examples table: Netflix on-demand streaming explanation and queue-between-API-and-workers design proposal, each with YAML and URL demonstrations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • naorsabag/openhop#143: Modifies the same file to broaden and restructure OpenHop activation triggers and gating language for diagram/flow-style prompts.
  • naorsabag/openhop#67: Changes the OpenHop skill's activation/gating language and trigger phrase examples workflow in skills/openhop/SKILL.md.
  • naorsabag/openhop#87: Updates OpenHop activation trigger guidance and example prompting style to align with gating/when-not criteria refinements.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: broadening the skill activation description to accept generic trigger gates and expanded subject categories (architecture, ideas, proposed solutions).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/skill-explain-and-external-subjects

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
skills/openhop/SKILL.md (1)

1-500: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix Prettier formatting issues to unblock CI.

All CI pipeline checks are failing due to Prettier formatting violations in this file.

Run the following to fix:

prettier --write skills/openhop/SKILL.md
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/openhop/SKILL.md` around lines 1 - 500, The SKILL.md for the openhop
skill has Prettier formatting violations causing CI to fail; run the formatter
and commit the fixed file. Fix by running the suggested command (prettier
--write skills/openhop/SKILL.md), verify changes to the "openhop" skill markdown
(the SKILL.md content including meta/title/flow examples) are formatted, run a
quick local prettier/CI lint check, then stage and commit the formatted SKILL.md
so the pipeline can pass.
🧹 Nitpick comments (1)
skills/openhop/SKILL.md (1)

3-3: 🏗️ Heavy lift

The description field's length and broad scope are properly gated with explicit skip conditions.

The description is 166 words (not ~440), and while longer than typical trigger phrases, it includes clear gating logic that prevents over-activation. The skip conditions at lines 75-85 explicitly list single-concept definitions ("explain pointers", "what is a closure?") and comparisons ("let vs const") that should NOT trigger the skill — exactly the cases that would be better answered in prose.

The broadening to "ANY subject" and "explain" verbs is paired with a strict gate: "can the answer be expressed as a sequence of named hops between named components?" This design prevents the over-activation concern — prompts like "explain how closures work" will correctly skip because they lack the actor-to-actor sequence structure. The commit message confirms this broadening was intentional.

The guideline's "be conservative" principle applies, but the implementation with explicit skip conditions mitigates the stated risks.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/openhop/SKILL.md` at line 3, The description field in SKILL.md is too
verbose; condense the description string while preserving the core trigger rule
and explicit skip conditions: keep the gate phrase "can the answer be expressed
as a sequence of named hops between named components?", retain the trigger verbs
(explain, describe, walk me through, etc.), and keep the listed skip examples
("explain pointers", "what is a closure", "let vs const") so the skill doesn't
over-activate; update the description value in SKILL.md accordingly to a
shorter, clearer sentence that references the gate and skip conditions.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@skills/openhop/SKILL.md`:
- Around line 1-500: The SKILL.md for the openhop skill has Prettier formatting
violations causing CI to fail; run the formatter and commit the fixed file. Fix
by running the suggested command (prettier --write skills/openhop/SKILL.md),
verify changes to the "openhop" skill markdown (the SKILL.md content including
meta/title/flow examples) are formatted, run a quick local prettier/CI lint
check, then stage and commit the formatted SKILL.md so the pipeline can pass.

---

Nitpick comments:
In `@skills/openhop/SKILL.md`:
- Line 3: The description field in SKILL.md is too verbose; condense the
description string while preserving the core trigger rule and explicit skip
conditions: keep the gate phrase "can the answer be expressed as a sequence of
named hops between named components?", retain the trigger verbs (explain,
describe, walk me through, etc.), and keep the listed skip examples ("explain
pointers", "what is a closure", "let vs const") so the skill doesn't
over-activate; update the description value in SKILL.md accordingly to a
shorter, clearer sentence that references the gate and skip conditions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a36222e3-18e6-460f-919b-54d0a6361d3c

📥 Commits

Reviewing files that changed from the base of the PR and between b98bead and e7a8940.

📒 Files selected for processing (1)
  • skills/openhop/SKILL.md

@naorsabag naorsabag force-pushed the docs/skill-explain-and-external-subjects branch from e7a8940 to d30508e Compare May 15, 2026 10:15
@naorsabag naorsabag changed the title docs(skill): broaden triggers to "explain" verbs and non-code subjects docs(skill): broaden description subjects to include architecture, idea, proposed solution May 15, 2026
@naorsabag naorsabag force-pushed the docs/skill-explain-and-external-subjects branch from d30508e to ba22085 Compare May 15, 2026 10:22
@naorsabag naorsabag changed the title docs(skill): broaden description subjects to include architecture, idea, proposed solution docs(skill): broaden description — generic trigger gate + architecture/idea/proposed solution subjects May 15, 2026
…he subject list covers architecture/idea/proposed solution

Two changes inside the frontmatter `description`, no edits elsewhere:

1. Subject list: extend "system, feature, codebase, workflow,
   pipeline, or user journey" to also include "architecture, idea, or
   proposed solution" — the skill is already used for design sketches
   and proposed solutions, and the description should reflect that.

2. Trigger gate: drop the "only when the user explicitly asks to
   create, draw, make, render, build, diagram, or visualize" verb
   whitelist and the fixed 8-phrase trigger list. Replace with a more
   generic intent rule: "whenever the user wants to understand,
   explain, describe, walk through, trace, diagram, or visualize a
   sequence of named hops between identifiable components/actors". Any
   "how does X work?", "explain how X works", "walk me through X", or
   "diagram X" prompt is a trigger when X has named parts that pass
   data between each other.

   The negative-trigger examples are also updated — "how does TCP
   work?" and "what is OAuth?" are removed (both are perfect OpenHop
   subjects with named actors; auth-flow.yaml is a bundled example).
   Replaced with truly non-sequence subjects: "what is a closure?",
   "let vs const", "define recursion".

The final sentence ("When activated, prefer this skill over a prose
explanation or a static Mermaid/PlantUML diagram") is unchanged. Scope
paragraph, Trigger phrases section, examples table, and schema are all
unchanged. The SKILL.md ↔ schema sync test still passes.
@naorsabag naorsabag force-pushed the docs/skill-explain-and-external-subjects branch from ba22085 to 36b8088 Compare May 15, 2026 10:32
@naorsabag naorsabag merged commit 8447b98 into master May 15, 2026
8 checks passed
@naorsabag naorsabag deleted the docs/skill-explain-and-external-subjects branch May 15, 2026 16:00
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