Skip to content

medhatgalal/Core-Prompts

Repository files navigation

Core-Prompts / Capability Fabric

Core-Prompts ships installed skills and advisory agents you use directly in Codex, Gemini, Claude, and Kiro. This repository is the canonical source, intake, build, validation, and release layer that keeps those shipped capabilities aligned.

The right mental model is simple:

  1. installed capabilities first
  2. UAC, the capability intake and uplift workflow, second
  3. broader repo tooling third

If you are already using Core-Prompts in a CLI, start there. If you are importing a new capability family, go to UAC next. If you are rebuilding surfaces, validating state, deploying, or preparing release work, use the repo tooling after that.

The current generated surfaces ship 20 skills across all supported CLIs and 11 advisory agents on agent-capable surfaces.

For review work, pick the capability by intent:

Intent Use Boundary
Review staged changes, a diff, or a commit before committing, pushing, merging, or releasing code-review Read-only review gate; produces findings and readiness guidance
Implement selected reviewer comments from an existing PR/MR address-code-review Mutating action workflow; edits only files tied to selected review feedback

Installed Capabilities First

Start with the shipped capabilities when you want direct help on a real task.

Full Skill Index

These are the currently shipped skills with a concrete starter ask for each one:

Skill Use it when you need to... Starter ask What good output looks like
analyze-context work through a broad repo investigation without losing context "Use analyze-context to inspect this subsystem over several files and keep a durable analysis trail before you recommend changes." file map, durable findings trail, unresolved questions, and a scoped change plan
architecture design or review interfaces, boundaries, and migration safety "Use architecture to recommend the safest design for this capability layout." options, tradeoffs, migration guidance, and a rollback-aware recommendation
auto-research improve a prompt, workflow, or system through experiments "Use auto-research to improve our review prompt so it catches more behavioral regressions without increasing noise." goal contract, evaluation plan, experiments, and a winner only after evidence
code-review review staged changes, diffs, or commits before commit, push, merge, or release "Use code-review to review my staged changes before I commit." findings first, scope risks, message-quality feedback, and merge readiness
address-code-review apply selected fixes for existing PR/MR reviewer comments "Use address-code-review to inspect the open review comments on this MR and address the selected fixes only." comments found, selected fixes, changes applied, commit guidance, and follow-up review
converge compare competing proposals and force one recommendation "Use converge to compare these rollout plans and recommend one." overlap map, explicit conflicts, decision criteria, and one final recommendation
docs-review-expert fix docs structure, drift, and explainability "Use docs-review-expert to tell me what belongs in README.md versus docs/, what drifted, and what to fix first." doc placement, drift findings, rewrite targets, and review timing
eng-report generate a git-derived engineering progress report "Use eng-report to generate an HTML progress report for this repo since 2026-06-01." deterministic git metrics, local or Drive report path, and narrative clearly tied to the data
feature-status audit a feature against its stated scope and proof sources "Use feature-status to compare this feature's pitch, HLD, OAS, code, and tests, then tell me what is complete, what drifted, and what is blocking ship." evidence-backed status tables, spec drift findings, gap analysis, and prioritized recommendations
gitops-review judge branch, PR, merge, or release readiness "Use gitops-review to tell me whether this branch is ready for PR and what blockers remain." gate type, blockers, required companion reviews, and next actions
ic-assistant keep an Incident Commander on-process with generic guidance by default and internal runbook mode only on request "Use ic-assistant to track this incident, identify the current phase, and tell me the next required action." mode, current phase, next action, status-update timer, and overdue or escalation flags
mentor get senior sequencing and workflow guidance, including tmux-aware terminal context recovery "Use mentor to tell me the next reversible move on this branch, then read my terminal if the failure is in tmux." the next move, why it is next, what not to mix in, and direct terminal-context reads when needed
pitch create, review, score, or improve Shape Up pitches "Use pitch to review this Shape Up pitch for appetite, risks, and betting readiness." shaped problem, appetite fit, risks, score, and concrete improvement guidance
pulse triage Gmail and Google Chat noise into clear priorities "Use pulse to tell me what needs my attention across Gmail and Google Chat, then propose the next actions without sending anything." priority-classified comms table, source summary, and proposed next actions for the hot items
resolve-conflict analyze a merge conflict or competing edits "Use resolve-conflict to compare these conflicting branch edits and tell me what should survive." conflict map, additive merge opportunities, explicit tradeoffs, and a recommended resolution
supercharge harden a rough prompt, plan, proposal, or first-principles audit before execution "Use supercharge /basis to find the irreducible cost, complexity, and waste in this research workflow." sharper framing, stronger constraints, execution plan, failure-mode coverage, and /basis accounting when requested
testing decide what to test first and what edge cases matter "Use testing to identify the highest-value tests and edge cases for this change." prioritized tests, edge cases, and coverage gaps
threader export a conversation or create a durable handoff "Use threader to turn this chat into a reusable handoff for another engineer or model." durable summary, preserved decisions, and next-step continuity
uac-import import and uplift new capability source into canonical state "Use uac-import to inspect this external prompt family and tell me how it should land into SSOT before apply." landing shape, classification, overlap concerns, and the next UAC step
weekly-intel build a weekly report from multiple sources "Use weekly-intel to produce a weekly status report from these sources." executive summary, technical appendix, and fact-check audit

High-Value Skill Examples

Capability Start with it when you need to... Example ask What good output looks like
auto-research improve a prompt, workflow, or system through bounded experiments "Use auto-research to improve our review prompt so it catches more behavioral regressions without increasing noise." a goal contract, experiment plan, evaluation criteria, and a winner only after evidence
supercharge harden a rough prompt, plan, proposal, or first-principles audit before execution "Use supercharge /basis to audit this onboarding workflow for irreducible work, waste, and redesign moves." sharper framing, stronger constraints, clearer sequencing, and first-principles accounting when requested
converge compare competing options and force one recommendation "Use converge to compare these rollout plans and recommend one." explicit conflicts, common comparison criteria, and one final recommendation
docs-review-expert fix docs structure, drift, and explainability "Use docs-review-expert to tell me what belongs in README.md versus docs/, what drifted, and what to fix first." placement decisions, drift findings, rewrite guidance, and review timing
gitops-review judge branch, PR, merge, or release readiness "Use gitops-review to tell me whether this branch is ready for PR and what blockers remain." gate type, blockers, companion reviews, and exact next actions
testing decide what to test first and what edge cases matter "Use testing to identify the highest-value tests and edge cases for this change." prioritized test ideas, edge cases, and coverage gaps
architecture review interfaces, boundaries, and migration safety "Use architecture to recommend the safest design for this capability layout." tradeoffs, boundary decisions, migration thinking, and rollback-aware recommendations

Advisory Agents Available Now

These current advisory agents are emitted by the repo and available on agent-capable surfaces:

Agent Use it for Example ask What good output looks like
mentor next-step guidance, risk-aware sequencing, and tmux-aware context recovery "Use mentor to look at the left pane and tell me what happened before recommending the next reversible move." pragmatic step order, scope control, risk-aware sequencing, and direct terminal-context recovery
docs-review-expert documentation IA, drift review, and release-facing docs checks "Use docs-review-expert to review our onboarding docs for drift and weak entrypoints." concrete doc findings and rewrite targets
gitops-review repo hygiene, CI, merge, and release gates "Use gitops-review to judge whether we are ready to merge and release." a go or no-go recommendation with evidence and next actions
ic-assistant phase-aware Incident Commander process guidance with optional internal runbook mode "Use ic-assistant to track this incident and keep me on the required checklist." mode, phase, next action, overdue items, and escalation flags
pitch Shape Up pitch creation, review, and scoring "Use pitch to harden this pitch before betting." pitch quality score, risks, appetite fit, and rewrite guidance
pulse Gmail and Google Chat triage "Use pulse to triage what needs my attention and propose next actions without sending anything." prioritized comms, source summaries, and proposed actions
auto-research experiment-driven improvement loops "Use auto-research to improve this workflow and prove which variant wins." bounded experiments, evaluation, and promotion guidance
supercharge plan or prompt hardening before execution "Use supercharge to tighten this operating prompt before we ship it." stronger prompt structure and clearer failure handling
converge synthesis across competing proposals "Use converge to synthesize these competing proposals into one decision." overlap map, decision logic, and one coherent recommendation
architecture architecture review and migration-safe design "Use architecture to review this interface change for rollback risk." architecture findings and a defensible direction
weekly-intel multi-source weekly reporting "Use weekly-intel to produce a weekly status report from these sources." executive summary, technical appendix, and fact-check audit

If You Only Try Three Things

  1. Use docs-review-expert on a docs surface that feels bloated or unclear.
  2. Use gitops-review on your current branch before you open a PR.
  3. Use supercharge /basis to audit the irreducible work in a prompt, workflow, research process, or software plan, then use auto-research when a measured experiment is needed.

Scenario Starters

Use these as copy-paste starting points when you want to exercise the higher-leverage skills:

Scenario Ask
First-principles release audit "Use supercharge /basis to audit our release process. Find irreducible steps, stale ceremony, actual-to-minimum ratio, and what should be automated or deleted."
Release plan hardening "Use supercharge /full to harden the v1.9.2 release plan before I tag it. Include risks, failure modes, verification gates, and rollback."
Measured prompt or skill improvement "Use auto-research to compare the old autosearch prompt behavior against auto-research v2.0 on five representative improvement tasks, with a scorecard and promotion packet."
Release strategy decision "Use converge /mcda /conflicts to compare three release strategies: tag from this branch, merge then tag from main, or publish package-only. Recommend one and reject the others explicitly."
Release gate review "Use gitops-review to judge whether this branch is ready for PR, CI, merge, tag, and release. Include exact blockers and commands."
Release docs drift check "Use docs-review-expert to review README, Getting Started, CLI reference, release delta, and changelog for v1.9.2 drift before release."

Where The Deeper Examples Live

If you want fuller examples for the shipped skills highlighted in this README, with "use when", concrete asks, expected outputs, and a good follow-up ask, go to docs/EXAMPLES.md. Treat this README and docs/CAPABILITY-CATALOG.md as the authoritative full index of everything currently shipped.

Sample Transcript: Docs Review First

This is the shape of a real ask a user might make:

User:
Use `docs-review-expert` to review our onboarding docs, identify drift, tell me what belongs in README.md versus docs/, and recommend the smallest rewrite that restores clarity.

Good response shape:
- Current State
- What Belongs Where
- Drift Findings
- Recommended Changes
- Review Timing
- Open Risks

This is often the best first move when the problem is not "we need more docs" but "we no longer know which docs are trustworthy."

Sample Transcript: GitOps Review Before PR

User:
Use `gitops-review` to tell me whether this branch is ready for PR and what blockers remain.

Good response shape:
- Current State
- Gate Type
- Findings
- Required Companion Reviews
- Recommended Commands or Actions
- Release / Merge Readiness
- Open Risks

This is often the best first move when you think the work is done but want an actual gate instead of a vague opinion.

Sample Transcript: Improve A Weak Workflow

User:
Use `auto-research` to improve our review workflow so it catches more behavioral regressions without increasing false positives.

Good response shape:
- Goal Contract
- Evaluation Criteria
- Candidate Variants
- Minimum Experiment Set
- Promotion Decision Only After Evidence

This is often the best first move when the problem is "our process is weak" rather than "we already know the right replacement."

Sample Transcript: Pick The Right Capability First

User:
I am not sure whether this is a docs problem, a branch-readiness problem, or just a sequencing problem. Tell me which capability to use first and why.

Good response shape:
- Best first capability
- Why it is first
- What not to use yet
- The next capability to use after the first answer lands

This is the right starting move when the user is uncertain which installed capability should lead.

UAC Second

Use UAC, the capability intake and uplift workflow, when you are bringing new prompt-like source into canonical Core-Prompts state.

Do not start with UAC if your goal is just to use what is already installed. Start with installed skills and agents for that.

Use UAC when you need to:

  • inspect how an external prompt or prompt family would land in this repo
  • decide whether the source should become a skill, an agent, or manual review
  • benchmark a candidate before it mutates canonical repo state
  • write canonical SSOT, descriptor, and baseline state after a successful review

Practical UAC Flow

bin/uac plan /absolute/path/to/family-folder
bin/uac judge /absolute/path/to/family-folder --quality-profile architecture
bin/uac apply /absolute/path/to/family-folder --yes

What each step is for:

  • plan: show the proposed landing shape without writing repo state
  • judge: run the quality loop and produce a ship or block decision without writing repo state
  • apply: write canonical repo state, then rebuild and validate

Typical UAC examples:

  • local import planning:
bin/uac plan /absolute/path/to/prompt-family
  • GitHub source planning:
bin/uac plan https://github.com/harish-garg/gemini-cli-prompt-library/tree/main/commands/architecture
  • benchmark before landing:
bin/uac judge /absolute/path/to/prompt-family --quality-profile architecture

Use docs/UAC-USAGE.md for the full intake and uplift guide.

If judge finds a candidate is structurally close to ready but still needs bounded behavioral proof, route that proof step to auto-research instead of treating structural quality alone as evidence.

Sample Transcript: UAC Planning

User:
I found a strong external prompt family. Use `uac-import` to inspect it and tell me how it should land into SSOT before apply.

Good response shape:
- source summary
- proposed capability type
- proposed slug and landing targets
- overlap or conflict concerns
- recommended next UAC step

Repo Tooling Third

Use the broader repo tooling when you need to verify, rebuild, deploy, package, or release what Core-Prompts emits.

Fast Verification Loop

bin/capability-fabric build
bin/capability-fabric validate --strict
python3 scripts/smoke-clis.py

What this proves:

  • build regenerates skills, agents, bundled resources, and generated user views from canonical repo state
  • validate --strict checks generated surfaces, manifests, and contract integrity
  • smoke-clis.py probes local vendor CLIs and expected surface visibility where supported

Deploy Dry Run

bin/capability-fabric deploy --dry-run --cli all

Use deploy after review when you want generated surfaces copied to a target root. Deploy is copy-only. It does not classify sources and it does not mutate canonical SSOT.

Installed Release Watch

Initial home installs through bin/capability-fabric deploy --target "$HOME" --allow-nonlocal-target or scripts/install-local.sh --target "$HOME" --allow-nonlocal-target also write:

  • ~/.core-prompts-updater/VERSION
  • ~/.core-prompts-updater/RELEASE_SOURCE.env
  • ~/.core-prompts-updater/LOCAL_REPO.env
  • ~/update_core_prompts.sh

Use release watch to compare that installed standalone bundle against the latest immutable release tag. Home installs also record the source checkout that performed the install; accepted releases safely fast-forward that checkout first when it is clean, then run the installer from it. If the checkout is dirty, missing, detached, or cannot fast-forward, release-watch falls back to the clean release mirror:

~/update_core_prompts.sh --check-release
~/update_core_prompts.sh --accept-release
~/update_core_prompts.sh --rollback previous

--check-release checks only, syncs a dedicated clean mirror, updates local release-watch state, and never auto-installs. --accept-release is the explicit install/apply step. Daily scheduled runs auto-accept valid releases by default after the release check; use --schedule-daily HH:MM --notify-only for check-only scheduling. Accepted releases create rollback snapshots first, retain the latest 2 snapshots by default, update the recorded source checkout when safe, and --rollback previous restores the latest installed-state snapshot.

Generated Inspection Views

Yes, docs/CAPABILITY-CATALOG.md and docs/RELEASE-DELTA.md still serve a purpose, but they are not the first-stop docs.

Use them like this:

They help maintainers, release reviewers, and packaged users answer "what ships," "what changed," and "is the build healthy" without reading raw manifests or generated directories. They should stay secondary to real usage docs.

What Ships

Documentation Map

Use the docs in the same order as the product model:

  1. docs/GETTING-STARTED.md: installed capabilities first, then UAC, then repo verification
  2. docs/EXAMPLES.md: deeper scenario-style asks for current capabilities and maintainers
  3. docs/UAC-USAGE.md: intake, uplift, plan, judge, and apply
  4. docs/CLI-REFERENCE.md: exact commands, paths, generated surfaces, and deploy behavior
  5. docs/MAINTAINER-HYGIENE.md: human maintainer guide and review checklist

Maintainer Fast Path

When you are intentionally working on canonical capability source, validation, or release behavior:

bin/uac --help
bin/capability-fabric --help

Then go to:

About

Source-of-truth CLI surface prompts for Codex, Gemini, Claude, and Kiro

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors