|
1 | 1 | # codex-gstack |
2 | 2 |
|
3 | | -Codex-native workflow skills inspired by gstack. |
| 3 | +Codex-native workflow skills inspired by `gstack`. |
4 | 4 |
|
5 | | -This repo packages a clean, Codex-first set of specialist skills for: |
6 | | -- browser dogfooding |
7 | | -- systematic debugging |
8 | | -- web QA |
9 | | -- preflight review |
| 5 | +`codex-gstack` is a public skill pack for Codex users who want structured specialist workflows instead of ad hoc prompting. It ports the highest-value ideas from `gstack` into concise, Codex-first skills and adds a lightweight sync pipeline so new upstream `gstack` skills can be detected and scaffolded quickly. |
| 6 | + |
| 7 | +## What this repo includes |
| 8 | + |
| 9 | +### Core engineering skills |
| 10 | +- `browser-dogfood` |
| 11 | +- `systematic-debugging` |
| 12 | +- `web-qa-report` |
| 13 | +- `web-qa-fix` |
| 14 | +- `pr-preflight-review` |
| 15 | +- `doc-sync-after-change` |
| 16 | +- `ship` |
| 17 | + |
| 18 | +### Founder and planning skills |
| 19 | +- `office-hours` |
| 20 | +- `plan-ceo-review` |
| 21 | +- `plan-eng-review` |
| 22 | + |
| 23 | +### Design and execution skills |
| 24 | +- `design-consultation` |
| 25 | +- `design-review-live` |
| 26 | +- `project-retro` |
| 27 | + |
| 28 | +## Why this exists |
| 29 | +`gstack` has strong workflow ideas, but it is optimized for Claude Code and carries a lot of Claude-specific ceremony. This repo focuses on the reusable part: |
| 30 | +- specialist roles |
| 31 | +- real browser testing |
| 32 | +- root-cause-first debugging |
| 33 | +- diff-aware review |
10 | 34 | - documentation sync |
11 | | -- release readiness |
12 | | -- founder and planning reviews |
13 | | -- design consultation and design review |
14 | | -- project retrospectives |
15 | | - |
16 | | -It is designed to be: |
17 | | -- open source |
18 | | -- installable into `~/.codex/skills` |
19 | | -- maintainable as upstream `gstack` evolves |
20 | | -- concise and Codex-native rather than Claude-specific |
21 | | - |
22 | | -This repository is being built in stages: |
23 | | -1. baseline skill pack |
24 | | -2. gstack sync and scaffold tooling |
25 | | -3. public release docs and install flow |
| 35 | +- product and planning reviews |
| 36 | + |
| 37 | +The goal is not to mirror upstream line-for-line. The goal is to keep the workflow value and remove the environment-specific overhead. |
| 38 | + |
| 39 | +## Install locally |
| 40 | + |
| 41 | +To link all skills from this repo into your local Codex setup: |
| 42 | + |
| 43 | +```bash |
| 44 | +python3 scripts/sync_from_gstack.py install --target ~/.codex/skills |
| 45 | +``` |
| 46 | + |
| 47 | +That creates symlinks from this repo's `skills/` directory into `~/.codex/skills`. |
| 48 | + |
| 49 | +## Track upstream gstack changes |
| 50 | + |
| 51 | +If you have a local `gstack` checkout available, generate a fresh sync report and scaffold any newly discovered skills: |
| 52 | + |
| 53 | +```bash |
| 54 | +./scripts/update-from-local-gstack.sh ../knowledge-base/gstack |
| 55 | +``` |
| 56 | + |
| 57 | +Or run the steps explicitly: |
| 58 | + |
| 59 | +```bash |
| 60 | +python3 scripts/sync_from_gstack.py status --source ../knowledge-base/gstack |
| 61 | +python3 scripts/sync_from_gstack.py scaffold-new --source ../knowledge-base/gstack |
| 62 | +``` |
| 63 | + |
| 64 | +This will: |
| 65 | +- refresh `catalog/gstack-sync-status.md` |
| 66 | +- detect upstream skills not yet mapped |
| 67 | +- scaffold starter Codex skill folders under `scaffolds/` |
| 68 | + |
| 69 | +## Repo structure |
| 70 | + |
| 71 | +```text |
| 72 | +skills/ curated Codex-native skills |
| 73 | +mappings/skills.json upstream gstack -> codex-gstack mapping |
| 74 | +catalog/ generated status output |
| 75 | +scaffolds/ auto-created starter ports for new upstream skills |
| 76 | +scripts/ sync, install, and validation tooling |
| 77 | +docs/ porting notes and contributor docs |
| 78 | +``` |
| 79 | + |
| 80 | +## Current porting model |
| 81 | + |
| 82 | +Mapped upstream skills become curated Codex skills. |
| 83 | + |
| 84 | +Unmapped upstream skills are not ignored. They are scaffolded automatically so a contributor can finish the port quickly instead of starting from zero. |
| 85 | + |
| 86 | +That means this repo supports both: |
| 87 | +- a stable curated skill pack |
| 88 | +- a fast path for adopting new upstream `gstack` skills |
| 89 | + |
| 90 | +## Validation |
| 91 | + |
| 92 | +Run: |
| 93 | + |
| 94 | +```bash |
| 95 | +python3 scripts/check_repo.py |
| 96 | +``` |
| 97 | + |
| 98 | +This checks: |
| 99 | +- every curated skill has `SKILL.md` |
| 100 | +- every curated skill has `agents/openai.yaml` |
| 101 | +- the mapping file is valid JSON |
| 102 | +- every mapped target exists in `skills/` |
| 103 | + |
| 104 | +## Contribution workflow |
| 105 | + |
| 106 | +1. Add or refine a skill in `skills/` |
| 107 | +2. Run `python3 scripts/check_repo.py` |
| 108 | +3. If syncing from upstream, run `python3 scripts/sync_from_gstack.py status --source <path>` |
| 109 | +4. Commit one logical change at a time |
| 110 | + |
| 111 | +Detailed guidance lives in `CONTRIBUTING.md` and `docs/porting-guide.md`. |
| 112 | + |
| 113 | +## License |
| 114 | + |
| 115 | +MIT |
0 commit comments