Skip to content

ttncode/unioss-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

231 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ› ๏ธ UNIOSS Plugin

An Aโ†’Z, human-gated ticket pipeline for the UNIOSS team.
A GitLab ticket in โ€” an investigated, planned, coded, reviewed, tested, ship-ready change out.

version tests PHP CodeIgniter Claude Code Antigravity Codex license

An AI Agent plugin by ttncode.


Why use it

โšก Fast setup

  • Two commands to install; /unioss-doctor checks deps.
  • Zero config on a standard UNIOSS environment.
  • Every setting in one file config.mjs.

๐Ÿค– Automation (Aโ†’Z)

  • Reads the GitLab ticket + linked issues, analyzes the dumped production DB and codebase.
  • Runs all the stages automatically: Investigate โ†’ Spec โ†’ Plan โ†’ Code โ†’ Review โ†’ Verify โ†’ Ship.
  • Rounds โ€” customer feedback continues with new rounds on the same ticket.
  • One command opens the staging / customer MRs with the right branch, reviewers, and options.

โœ… Quality & safety

  • Human-gated โ€” stops at 4 gates (spec, plan, review, ship). No runaway edits.
  • Review enforces the UNIOSS CI3 + PHP 8.1 clean-code + security checklist.
  • Real tests โ€” PHPUnit in Docker; UI driven in a real browser (Playwright) with screenshots.
  • Never commits or pushes a protected branch โ€” a hook blocks it, not just a rule in a doc.

๐Ÿง  Team knowledge

  • Every ticket turned into an agent-written report in your language โ€” ask what happened today, this week, or on any past ticket without digging through GitLab.
  • Ask free-form questions like "what did customers complain about this week?" and get an answer, not a search.
  • Facts and rules learned from past tickets carry forward automatically into new investigations, so the pipeline gets sharper over time.

Pipeline

โ•ญโ”€ UNIOSS Pipeline ยท AP#1834 ยท round-1 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                      โ”‚
โ”‚  #   Stage        Runs as            Output                          โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€     โ”‚
โ”‚  1   Investigate  subagent ยท opus    INVESTIGATION + REPORT          โ”‚
โ”‚  โ›”  GATE 0       you                clarify (only if unclear)       โ”‚
โ”‚  2   Spec         subagent ยท opus    SPEC.md                         โ”‚
โ”‚  โ›”  GATE 1       you                approve spec / edit             โ”‚
โ”‚  3   Plan         subagent ยท opus    IMPLEMENTATION_V1               โ”‚
โ”‚  โ›”  GATE 2       you                approve plan / edit             โ”‚
โ”‚  4   Code         main ยท sonnet      CHANGES.md + fast tests         โ”‚
โ”‚  5   Review       subagent ยท opus    REVIEW.md                       โ”‚
โ”‚  โ›”  GATE 3       you                fix / accept                    โ”‚
โ”‚  6   Verify       subagent ยท sonnet  TEST_RESULTS.md (DB+UI)         โ”‚
โ”‚  7   Finalize     main               branch + commit (no push/MR)    โ”‚
โ”‚                                                                      โ”‚
โ”‚  Gates stop for approval. Nothing runs until you confirm.            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Artifacts land in .walkthrough/<PREFIX>#<IID>/round-<N>/, surfaced as Ctrl+Click-able paths.

Commands

Pipeline (unioss-pipeline plugin)

Command What
/unioss-pipeline <gitlab-url> New ticket โ€” e.g. /unioss-pipeline https://gitlab.unioss.jp/unioss/AdminPage/-/work_items/1834
/unioss-feedback <gitlab-url> Customer feedback โ€” continues in a new round, not a restart
/unioss-task "<description>" No ticket โ€” e.g. /unioss-task "Add a CSV export button to the sales-ledger screen"
/unioss-mr-feedback <mr-url> [...] Verifies and applies another developer's review comments โ€” standalone, not part of the Aโ†’Z pipeline
/unioss-ship staging MR into v3-develop-tps โ€” previews the plan and waits for "Proceed?" first
/unioss-ship customer MR into v3-develop โ€” syncs v3-master, re-runs tests, previews the plan and waits for "Proceed?" first
/unioss-api-spec <endpoint|controller> Write the house-template API spec for a new/changed endpoint
/unioss-doctor Check deps, containers, token, browser

Knowledge (unioss-knowledge plugin)

Command What
/unioss-knowledge-today Today's new tickets โ€” agent-written reports in your language
/unioss-knowledge-ticket <gitlab-url> Full report for one ticket (analysis + AC + direction)
/unioss-knowledge-ask "<question>" [period] Ask anything โ€” e.g. /unioss-knowledge-ask "What did customers complain about this week?"
/unioss-knowledge-refresh [daily|weekly|monthly|yearly] Refresh from tickets โ€” run /unioss-knowledge-approve after
/unioss-knowledge-approve Approve staged rules โ€” only then injected into the agents' brain
/unioss-knowledge Status โ€” freshness of the knowledge base

Install

Claude Code

/plugin marketplace add https://github.com/ttncode/unioss-plugins
/plugin install unioss-pipeline
/plugin install unioss-knowledge

Antigravity

agy plugin install https://github.com/ttncode/unioss-plugins

Codex

codex marketplace add https://github.com/ttncode/unioss-plugins
codex plugin install unioss-pipeline
codex plugin install unioss-knowledge

After installation, run /unioss-doctor (or ask the agent to run doctor check) to verify the environment.

Usage

Typical working combos:

A ticket, start to ship

  1. /unioss-knowledge-ticket <gitlab-url> โ€” quick report read before committing to it (optional)
  2. /unioss-pipeline <gitlab-url> โ€” full Aโ†’Z run, approve at each gate
  3. /unioss-ship staging โ€” open the staging MR

Customer feedback on a shipped ticket

  1. /unioss-feedback <gitlab-url> โ€” new round on the same ticket
  2. /unioss-ship staging โ€” re-ship
  3. /unioss-ship customer โ€” when staging is confirmed OK

Morning catch-up

  1. /unioss-knowledge-today โ€” what came in today, one report per ticket
  2. /unioss-knowledge-ask "What did customers complain about this week?" โ€” dig into anything

Weekly knowledge upkeep (keeps agents sharp)

  1. /unioss-knowledge-refresh weekly โ€” distill sentiment, rebuild the global brief, stage rules
  2. /unioss-knowledge-approve โ€” review staged rules; approved ones are injected into every agent session
  3. /unioss-knowledge โ€” confirm freshness

Something broke? โ€” /unioss-doctor first.

Configuration

One file holds everything: .walkthrough/.config/unioss.config.json (gitignored, shared by both plugins). /unioss-doctor creates it for you.

  • Scaffold: node "${CLAUDE_PLUGIN_ROOT}/scripts/config.mjs" init โ€” writes every key, grouped per-machine โ†’ per-team โ†’ project-wide.
  • Resolution: env โ†’ file โ†’ default, deep-merged.
  • Module keys (admin-page, front-end, common-helper, common-models) are the one vocabulary: source.modules.<key> is its path on disk, gitlab.projects.<key> is its GitLab project id.
  • Inspect / validate: config.mjs print ยท config.mjs check (/unioss-doctor runs check).
  • Wrong module paths: config.mjs scan locates them; scan --write repairs the file (/unioss-doctor offers this).
  • Secrets (env only): GITLAB_TOKEN (required) ยท DB_PASSWORD (optional).
  • Tester browser: ! npx playwright install --with-deps chrome if Chrome is missing.
  • Tester URLs/credentials are not config โ€” they live in skills/unioss-verify/tester-access.md.

Requirements

Dependency Required Notes
Node.js โœ… Hooks and scripts
jq โœ… JSON processing
Docker + mysql-unioss3 + php-unioss3 โœ… DB + PHP runtime
GITLAB_TOKEN env var โœ… GitLab API access
Google Chrome โญ Tester UI verification

Run /unioss-doctor to check them all at once.

License

MIT

Releases

Packages

Contributors

Languages