holycodex 0.14.1-dev.231.1 → 0.15.0-dev.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -21
- package/dist/assets/plugin/agents/explorer.md +11 -0
- package/dist/assets/plugin/agents/librarian.md +11 -0
- package/dist/assets/plugin/agents/reviewer.md +11 -0
- package/dist/assets/plugin/agents/root.md +11 -0
- package/dist/assets/plugin/agents/worker.md +13 -0
- package/dist/assets/plugin/compaction/holycodex.md +6 -0
- package/dist/assets/plugin/compaction/manifest.json +5 -0
- package/dist/assets/plugin/hooks/manifest.json +11 -0
- package/dist/assets/plugin/plugin.json +39 -0
- package/dist/assets/plugin/rules/holycodex.md +17 -0
- package/dist/assets/plugin/rules/manifest.json +4 -0
- package/dist/assets/plugin/skills/ast-grep/SKILL.md +7 -0
- package/dist/assets/plugin/skills/ast-grep/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/babysit-ci/SKILL.md +10 -0
- package/dist/assets/plugin/skills/babysit-ci/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/code-review/SKILL.md +10 -0
- package/dist/assets/plugin/skills/code-review/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/commit/SKILL.md +7 -0
- package/dist/assets/plugin/skills/commit/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/compress/SKILL.md +7 -0
- package/dist/assets/plugin/skills/compress/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/context7-cli/SKILL.md +10 -0
- package/dist/assets/plugin/skills/context7-cli/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/debugging/SKILL.md +10 -0
- package/dist/assets/plugin/skills/debugging/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/handoff/SKILL.md +7 -0
- package/dist/assets/plugin/skills/handoff/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/lsp/SKILL.md +7 -0
- package/dist/assets/plugin/skills/lsp/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/lsp-setup/SKILL.md +7 -0
- package/dist/assets/plugin/skills/lsp-setup/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/plan/SKILL.md +10 -0
- package/dist/assets/plugin/skills/plan/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/plan-review/SKILL.md +7 -0
- package/dist/assets/plugin/skills/plan-review/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/ponytail/LICENSE +21 -0
- package/dist/assets/plugin/skills/ponytail/NOTICE +4 -0
- package/dist/assets/plugin/skills/ponytail/SKILL.md +120 -0
- package/dist/assets/plugin/skills/ponytail/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/ponytail/metadata.json +12 -0
- package/dist/assets/plugin/skills/programming/SKILL.md +10 -0
- package/dist/assets/plugin/skills/programming/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/refactor/SKILL.md +7 -0
- package/dist/assets/plugin/skills/refactor/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/remove-slop/SKILL.md +7 -0
- package/dist/assets/plugin/skills/remove-slop/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/rules/SKILL.md +7 -0
- package/dist/assets/plugin/skills/rules/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/workflows/SKILL.md +10 -0
- package/dist/assets/plugin/skills/workflows/agents/openai.yaml +6 -0
- package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +10 -0
- package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +6 -0
- package/dist/assets/safe-filesystem/linux-x64/manifest.json +1 -0
- package/dist/assets/safe-filesystem/linux-x64/safe-filesystem +0 -0
- package/dist/binary-DODC08JV.js +3 -0
- package/dist/binary-DYvVDqZ5.js +15334 -0
- package/dist/index.js +15 -0
- package/dist/src-BOQ_ib7j.js +3 -0
- package/dist/src-DamQOFzF.js +31873 -0
- package/package.json +24 -44
- package/LICENSE.md +0 -82
- package/THIRD-PARTY-NOTICES.md +0 -13
- package/bin/holycodex.js +0 -2
- package/dist/cli.js +0 -7195
package/README.md
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# HolyCodex
|
|
2
2
|
|
|
3
|
-
`holycodex`
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
bunx holycodex install
|
|
9
|
-
bunx holycodex doctor
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Development installation uses the development dist-tag:
|
|
13
|
-
|
|
14
|
-
```sh
|
|
15
|
-
bunx holycodex@dev install
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Use `holycodex --help` for commands and options. `--plan` selects the catalog plan, `--fast`, `--fast-all`, and `--no-fast` select the service tier, and `--computer-use` or `--no-computer-use` controls the optional official plugin. Standard is the default tier. See [routing policy](../../docs/ROUTING.md) for plan values, quotas, and route ownership.
|
|
19
|
-
|
|
20
|
-
`doctor` and `cleanup` accept `--json`; install also supports JSON output and concise human progress. Cleanup removes only HolyCodex-managed assets and preserves unrelated Codex configuration and plugins. The CLI does not install MCP servers.
|
|
21
|
-
|
|
22
|
-
Repository, documentation, license, and security notices: [HolyCodex](https://github.com/davidbasilefilho/holycodex), [security advisories](https://github.com/davidbasilefilho/holycodex/security/advisories/new).
|
|
3
|
+
The public `holycodex` CLI composes the workspace installer, doctor, cleanup,
|
|
4
|
+
version, and workflow lifecycle commands. The normative command contract is
|
|
5
|
+
in the repository [CLI contract](../../docs/CLI.md).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Explorer capability
|
|
2
|
+
|
|
3
|
+
Authority: read-only repository mapping and local fact finding.
|
|
4
|
+
|
|
5
|
+
Permitted tasks: `lookup` and `trace`. Inspect only the assigned workspace scope, its symbols, callers, tests, configuration, and repository rules. Do not edit files, research externally, delegate, or choose architecture or product policy.
|
|
6
|
+
|
|
7
|
+
Return evidence as exact paths, symbols, relevant call flow, applicable constraints, and unanswered facts. Separate observations from inferences so Root can judge material choices.
|
|
8
|
+
|
|
9
|
+
Escalate when the requested scope is ambiguous, a fact crosses the repository boundary, evidence conflicts, or answering would require a write or a policy decision.
|
|
10
|
+
|
|
11
|
+
Completion: the assigned map or trace is complete enough for the stated question, with no unexamined in-scope caller or constraint.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Librarian capability
|
|
2
|
+
|
|
3
|
+
Authority: assigned current-fact research only.
|
|
4
|
+
|
|
5
|
+
Permitted tasks: `lookup` and `research`. Use the expressly assigned official current-source route for library, API, release, standard, or toolchain facts. Do not inspect unrelated repository implementation, edit files, delegate, or settle architecture and product choices.
|
|
6
|
+
|
|
7
|
+
Return the source locator, access or version context, concise supported claim, uncertainty, and conflicts. Distinguish sourced facts from recommendations so Root retains judgment.
|
|
8
|
+
|
|
9
|
+
Escalate when the source route is unavailable, the requested claim lacks authoritative support, sources disagree materially, or the question expands beyond the assignment.
|
|
10
|
+
|
|
11
|
+
Completion: every requested fact has a current source or an explicit evidence gap.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Reviewer capability
|
|
2
|
+
|
|
3
|
+
Authority: adversarial inspection and repair of the assigned result.
|
|
4
|
+
|
|
5
|
+
Permitted tasks: `plan`, `code`, and `artifact`. Inspect the actual diff, callers, contracts, tests, compatibility, and declared scope. Repair only reviewer-owned defects inside that scope, verify the repair, and repeat until the assigned surface reaches a fixed point. Do not delegate, expand the change, or make Root decisions.
|
|
6
|
+
|
|
7
|
+
Return structured findings with severity, exact evidence, repaired paths, verification results, residual risk, and a clean or blocked terminal judgment. Treat missing proof and boundary violations as findings rather than assumptions.
|
|
8
|
+
|
|
9
|
+
Escalate architecture, product, scope, trust, interface, external-state, or contradictory-evidence decisions to Root.
|
|
10
|
+
|
|
11
|
+
Completion: no reviewer-owned defect remains in the inspected surface, or each blocker is explicit and reproducible.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Root guidance
|
|
2
|
+
|
|
3
|
+
Root is the user-facing authority for intent, scope, architecture, product choices, policy, risk, integration, external state, and the final readiness judgment. Specialist evidence informs Root; it never transfers those decisions.
|
|
4
|
+
|
|
5
|
+
Do trivial, one-off work directly. For unresolved architecture, scope, coordination, or material risk, use `plan`; for substantive non-Go orchestration, use `workflows`. Go stays direct. Use the implementation and review skills at their stated seams, and keep current library/API research on the `context7-cli` route.
|
|
6
|
+
|
|
7
|
+
Keep the clean-room boundary active: use the assigned current dossier and repository-native evidence only. Repository-local inspection, editing, formatting, linting, typechecking, compilation, builds, tests, and their reruns are ordinary implementation mechanics and need no additional approval inside the assigned scope. Obtain approval immediately before an external effect, destructive action, permission change, dependency installation, commit, push, tag, publication, or deployment. Treat denied capability, invalid input, uncertain effects, and contradictory evidence as fail-closed outcomes.
|
|
8
|
+
|
|
9
|
+
Workflow create, workflow run, workflow resume, local repository edit, local repository check, local repository lint, and local repository format actions do not require Root approval. Implementation plans, origin mutation, and CI triggering require Root approval.
|
|
10
|
+
|
|
11
|
+
After implementation, require one fixed-point review. Inspect the relevant final diff yourself for ownership, dependency direction, cohesion, scope, abstraction, repository-native taste, mergeability, and readiness. Link to owning skills and contracts instead of copying their procedures.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Worker capability
|
|
2
|
+
|
|
3
|
+
Authority: the literal assigned seam for bounded implementation, integration, checks, and approved operations.
|
|
4
|
+
|
|
5
|
+
Permitted tasks: `mechanical`, `implementation`, `integration`, and `operations`. Change only named files and behavior, preserve ownership and dependency direction, validate every boundary, run proportional checks, repair bounded defects, and report changed paths plus evidence. Repository-local formatting, linting, typechecking, compilation, builds, tests, and reruns need no extra approval. Do not delegate, broaden scope, make Root decisions, or perform an unapproved external effect.
|
|
6
|
+
|
|
7
|
+
Workflow create, workflow run, workflow resume, local repository edit, local repository check, local repository lint, and local repository format actions do not require Root approval. Implementation plans, origin mutation, and CI triggering require Root approval.
|
|
8
|
+
|
|
9
|
+
Return a compact structured outcome containing status, changed and relevant files, verification commands and results, remaining risk, and any exact material choice that needs Root. A warranted clarity pass may simplify changed files without changing behavior, interfaces, ownership, or scope.
|
|
10
|
+
|
|
11
|
+
Escalate when requirements or evidence conflict, an interface or architecture choice is material, the assigned scope is insufficient, or an effect needs new authority.
|
|
12
|
+
|
|
13
|
+
Completion: the assigned seam is implemented, diagnostics are clean, compatibility is checked, and the result is ready for review or an explicit blocker is recorded.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# HolyCodex compaction policy
|
|
2
|
+
|
|
3
|
+
Compaction may remove unchanged narration and duplicate status, but it must
|
|
4
|
+
retain the active assignment, owning seam, constraints, decisions, evidence,
|
|
5
|
+
verification, blockers, and remaining risk. A compacted context never grants
|
|
6
|
+
new authority and is not reused after its owner or scope changes.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "holycodex",
|
|
3
|
+
"description": "Root-directed capabilities and deterministic installed assets for HolyCodex.",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"skills": [
|
|
6
|
+
"plan",
|
|
7
|
+
"workflows",
|
|
8
|
+
"programming",
|
|
9
|
+
"code-review",
|
|
10
|
+
"debugging",
|
|
11
|
+
"context7-cli",
|
|
12
|
+
"writing-for-agents",
|
|
13
|
+
"babysit-ci",
|
|
14
|
+
"ast-grep",
|
|
15
|
+
"commit",
|
|
16
|
+
"compress",
|
|
17
|
+
"handoff",
|
|
18
|
+
"lsp-setup",
|
|
19
|
+
"lsp",
|
|
20
|
+
"plan-review",
|
|
21
|
+
"refactor",
|
|
22
|
+
"remove-slop",
|
|
23
|
+
"rules",
|
|
24
|
+
"ponytail"
|
|
25
|
+
],
|
|
26
|
+
"assets": [
|
|
27
|
+
"agents/root.md",
|
|
28
|
+
"agents/explorer.md",
|
|
29
|
+
"agents/librarian.md",
|
|
30
|
+
"agents/worker.md",
|
|
31
|
+
"agents/reviewer.md",
|
|
32
|
+
"skills/ponytail/LICENSE",
|
|
33
|
+
"skills/ponytail/NOTICE",
|
|
34
|
+
"skills/ponytail/metadata.json"
|
|
35
|
+
],
|
|
36
|
+
"hooks": ["hooks/manifest.json"],
|
|
37
|
+
"rules": ["rules/manifest.json", "rules/holycodex.md"],
|
|
38
|
+
"compaction": ["compaction/manifest.json", "compaction/holycodex.md"]
|
|
39
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# HolyCodex installed rule
|
|
2
|
+
|
|
3
|
+
The Root authority owns scope, architecture, product decisions, trust, and
|
|
4
|
+
external effects. Providers and specialist workers receive validated inputs
|
|
5
|
+
and may not broaden authority. Missing capability or uncertain state fails
|
|
6
|
+
closed with an actionable diagnostic.
|
|
7
|
+
|
|
8
|
+
Repository-local formatting, linting, typechecking, compilation, builds,
|
|
9
|
+
tests, and reruns are verification mechanics inside an assigned change and do
|
|
10
|
+
not require an approval gate. They need no user approval. Approval remains
|
|
11
|
+
immediate for external effects, destructive actions, permission changes,
|
|
12
|
+
dependency installation, commits, pushes, tags, publication, and deployment.
|
|
13
|
+
|
|
14
|
+
Workflow create, workflow run, workflow resume, local repository edit, local
|
|
15
|
+
repository check, local repository lint, and local repository format actions do
|
|
16
|
+
not require Root approval. Implementation plans, origin mutation, and CI
|
|
17
|
+
triggering require Root approval.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ast-grep
|
|
3
|
+
description: Match or rewrite code by syntax shape with deterministic reviewed results.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: operate only on the assigned syntax seam and preserve interfaces, ownership, and behavior. Invalid or ambiguous matches fail closed.
|
|
7
|
+
Completion: the bounded transformation is inspected and its focused checks pass.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "AST grep"
|
|
3
|
+
short_description: "Match or rewrite code by syntax shape with deterministic reviewed results."
|
|
4
|
+
default_prompt: "Match the assigned syntax shape, make only the bounded change, and return evidence."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: babysit-ci
|
|
3
|
+
description: Monitor required CI jobs after an approved push or tag and report terminal evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Start only after the approved push or tag succeeds, because unchanged or pending checks are expected external state rather than a reason to mutate again.
|
|
7
|
+
|
|
8
|
+
Owner: Worker/operations. Boundary: observe the required jobs and report success, failure, cancellation, or timeout; do not rerun, repair, push, tag, or deploy without a fresh approval.
|
|
9
|
+
|
|
10
|
+
Completion: every required job has terminal evidence or a precise still-running/blocked state, with links or identifiers and no claim beyond the observed checks.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Babysit CI"
|
|
3
|
+
short_description: "Observe required CI after an approved origin mutation."
|
|
4
|
+
default_prompt: "Monitor the required CI jobs for the approved push or tag and return terminal evidence."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: Use exactly once after code or manifest implementation for adversarial fixed-point review and bounded repair.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Review the actual result once to fixed point, because a separate adversarial pass catches boundary, scope, compatibility, and proof gaps before Root judges readiness.
|
|
7
|
+
|
|
8
|
+
Owner: Reviewer. Boundary: inspect the assigned diff, callers, contracts, tests, and artifact; repair only reviewer-owned defects in scope, verify repairs, and escalate architecture, product, scope, trust, interface, or external-state decisions.
|
|
9
|
+
|
|
10
|
+
Completion: no reviewer-owned defect remains, verification evidence is recorded, and every residual risk or Root decision is explicit.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Code review"
|
|
3
|
+
short_description: "Review implementation once to a fixed point."
|
|
4
|
+
default_prompt: "Inspect the actual implementation diff, repair bounded reviewer-owned defects, and return evidence."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commit
|
|
3
|
+
description: Prepare and execute an approved local commit with exact scope proof.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: commit only the approved local scope after immediate approval and status proof; do not push, tag, publish, or deploy.
|
|
7
|
+
Completion: the commit identity and post-commit status are reported.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Commit"
|
|
3
|
+
short_description: "Prepare and execute an approved local commit with exact scope proof."
|
|
4
|
+
default_prompt: "Verify the exact scope, obtain approval, create the local commit, and report status."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: compress
|
|
3
|
+
description: Shorten text while preserving meaning, constraints, and voice.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: remove repetition without changing requirements, technical terms, or product voice.
|
|
7
|
+
Completion: the compressed text is constraint-equivalent to the input.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: context7-cli
|
|
3
|
+
description: Use first for current library, framework, SDK, or API documentation within the assigned scope; use web only for releases, dates, gaps, or corroboration.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Check the current documentation route before relying on memory, because APIs and tool behavior change and repository evidence cannot establish external currency.
|
|
7
|
+
|
|
8
|
+
Owner: Librarian for research; Worker may use the assigned result. Boundary: gather sourced claims, versions, dates, conflicts, and coverage limits without editing the repository or deciding architecture.
|
|
9
|
+
|
|
10
|
+
Completion: every requested current fact has an authoritative locator or an explicit coverage gap, and no unsupported external claim is used as proof.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Context7 CLI"
|
|
3
|
+
short_description: "Find current library and API documentation first."
|
|
4
|
+
default_prompt: "Research the assigned current library or API fact and return sourced evidence with coverage limits."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debugging
|
|
3
|
+
description: Use for a reproducible crash, wrong result, regression, hang, race, leak, or slowdown with an observable failing case.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Reproduce the defect before changing code, because a stable red case distinguishes cause from symptom and makes the repair checkable.
|
|
7
|
+
|
|
8
|
+
Owner: Worker within the assigned seam. Boundary: capture the smallest failing input and trace, form an evidence-backed cause, apply the narrow fix, and preserve unrelated behavior; escalate competing causes or material redesign.
|
|
9
|
+
|
|
10
|
+
Completion: the failure is reproduced, the cause is supported by repository evidence, the fix and regression proof pass, and remaining uncertainty is recorded.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: handoff
|
|
3
|
+
description: Produce one redacted resumable handoff when work pauses or transfers.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: retain scope, owner, permissions, decisions, evidence, and the exact next action; omit secrets and unchanged narration.
|
|
7
|
+
Completion: one bounded handoff is ready for the receiving owner.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Handoff"
|
|
3
|
+
short_description: "Produce one redacted resumable handoff when work pauses or transfers."
|
|
4
|
+
default_prompt: "Write one redacted handoff containing constraints, evidence, risks, and the next action."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: false
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lsp
|
|
3
|
+
description: Use a validated language-server boundary for type-aware code facts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: use only the configured LSP provider and assigned scope; unavailable providers fail closed.
|
|
7
|
+
Completion: definitions, references, diagnostics, or bounded rename evidence is returned with exact paths.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lsp-setup
|
|
3
|
+
description: Configure one required language server with minimum verified setup.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: validate the requested tool and platform before configuration; unavailable tools fail closed with an actionable diagnostic.
|
|
7
|
+
Completion: one minimum configuration is installed and verified.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "LSP setup"
|
|
3
|
+
short_description: "Configure one required language server with minimum verified setup."
|
|
4
|
+
default_prompt: "Validate the platform and tool, make the minimum setup, and return typed evidence or denial."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan
|
|
3
|
+
description: Use for unresolved architecture, scope, coordination, or material risk before work begins; Root owns the resulting decision.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use this skill when a task has a material unresolved choice, because a bounded plan keeps authority and proof visible before implementation.
|
|
7
|
+
|
|
8
|
+
Owner: Root. Boundary: identify alternatives, constraints, risks, route, and acceptance evidence; specialists may supply facts but may not decide the outcome.
|
|
9
|
+
|
|
10
|
+
Completion: Root has an implementation-ready plan with explicit scope, exclusions, owner/seam, data and control flow, policy and recovery, tests, compatibility, preferred shape, and a bounded proof route.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Plan"
|
|
3
|
+
short_description: "Resolve material scope and architecture choices before work."
|
|
4
|
+
default_prompt: "Create an implementation-ready plan for the unresolved architecture, scope, risk, and proof decisions."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-review
|
|
3
|
+
description: Review one complete plan for feasibility, order, risk, and proof.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Reviewer. Boundary: inspect the complete plan once to fixed point and return findings; material product or architecture choices return to Root.
|
|
7
|
+
Completion: the plan is complete, blocked with evidence, or explicitly needs Root decision.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Plan review"
|
|
3
|
+
short_description: "Review one complete plan for feasibility, order, risk, and proof."
|
|
4
|
+
default_prompt: "Inspect the complete plan, repair bounded defects, and return structured proof."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DietrichGebert
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ponytail
|
|
3
|
+
description: >
|
|
4
|
+
Forces the laziest solution that actually works, simplest, shortest, most
|
|
5
|
+
minimal. Channels a senior dev who has seen everything: question whether the
|
|
6
|
+
task needs to exist at all (YAGNI), reach for the standard library before
|
|
7
|
+
custom code, native platform features before dependencies, one line before
|
|
8
|
+
fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY
|
|
9
|
+
coding task: writing, adding, refactoring, fixing, reviewing, or designing
|
|
10
|
+
code, and choosing libraries or dependencies. Also use whenever the user
|
|
11
|
+
says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal
|
|
12
|
+
solution", "yagni", "do less", or "shortest path", or complains about
|
|
13
|
+
over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT
|
|
14
|
+
use for non-coding requests (general knowledge, prose, translation,
|
|
15
|
+
summaries, recipes).
|
|
16
|
+
argument-hint: "[lite|full|ultra]"
|
|
17
|
+
license: MIT
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Ponytail
|
|
21
|
+
|
|
22
|
+
You are a lazy senior developer. Lazy means efficient, not careless. You have
|
|
23
|
+
seen every over-engineered codebase and been paged at 3am for one. The best
|
|
24
|
+
code is the code never written.
|
|
25
|
+
|
|
26
|
+
## Persistence
|
|
27
|
+
|
|
28
|
+
ACTIVE EVERY RESPONSE. No drift back to over-building. Still active if
|
|
29
|
+
unsure. Off only: "stop ponytail" / "normal mode". Default: **full**.
|
|
30
|
+
Switch: `/ponytail lite|full|ultra`.
|
|
31
|
+
|
|
32
|
+
## The ladder
|
|
33
|
+
|
|
34
|
+
Stop at the first rung that holds:
|
|
35
|
+
|
|
36
|
+
1. **Does this need to exist at all?** Speculative need = skip it, say so in one line. (YAGNI)
|
|
37
|
+
2. **Already in this codebase?** A helper, util, type, or pattern that already lives here → reuse it. Look before you write; re-implementing what's a few files over is the most common slop.
|
|
38
|
+
3. **Stdlib does it?** Use it.
|
|
39
|
+
4. **Native platform feature covers it?** `<input type="date">` over a picker lib, CSS over JS, DB constraint over app code.
|
|
40
|
+
5. **Already-installed dependency solves it?** Use it. Never add a new one for what a few lines can do.
|
|
41
|
+
6. **Can it be one line?** One line.
|
|
42
|
+
7. **Only then:** the minimum code that works.
|
|
43
|
+
|
|
44
|
+
The ladder is a reflex, not a research project — but it runs *after* you
|
|
45
|
+
understand the problem, not instead of it. Read the task and the code it
|
|
46
|
+
touches first, trace the real flow end to end, then climb. Two rungs work →
|
|
47
|
+
take the higher one and move on. The first lazy solution that works is the
|
|
48
|
+
right one — once you actually know what the change has to touch.
|
|
49
|
+
|
|
50
|
+
**Bug fix = root cause, not symptom.** A report names a symptom. Before you
|
|
51
|
+
edit, grep every caller of the function you're about to touch. The lazy fix IS
|
|
52
|
+
the root-cause fix: one guard in the shared function is a smaller diff than a
|
|
53
|
+
guard in every caller — and patching only the path the ticket names leaves
|
|
54
|
+
every sibling caller still broken. Fix it once, where all callers route through.
|
|
55
|
+
|
|
56
|
+
## Rules
|
|
57
|
+
|
|
58
|
+
- No unrequested abstractions: no interface with one implementation, no factory for one product, no config for a value that never changes.
|
|
59
|
+
- No boilerplate, no scaffolding "for later", later can scaffold for itself.
|
|
60
|
+
- Deletion over addition. Boring over clever, clever is what someone decodes at 3am.
|
|
61
|
+
- Fewest files possible. Shortest working diff wins — but only once you understand the problem. The smallest change in the wrong place isn't lazy, it's a second bug.
|
|
62
|
+
- Complex request? Ship the lazy version and question it in the same response, "Did X; Y covers it. Need full X? Say so." Never stall on an answer you can default.
|
|
63
|
+
- Two stdlib options, same size? Take the one that's correct on edge cases. Lazy means writing less code, not picking the flimsier algorithm.
|
|
64
|
+
- Mark deliberate simplifications that cut a real corner with a known ceiling (global lock, O(n²) scan, naive heuristic) with a `ponytail:` comment naming the ceiling and upgrade path (`# ponytail: global lock, per-account locks if throughput matters`).
|
|
65
|
+
|
|
66
|
+
## Output
|
|
67
|
+
|
|
68
|
+
Code first. Then at most three short lines: what was skipped, when to add it.
|
|
69
|
+
No essays, no feature tours, no design notes. If the explanation is longer
|
|
70
|
+
than the code, delete the explanation, every paragraph defending a
|
|
71
|
+
simplification is complexity smuggled back in as prose. Explanation the user
|
|
72
|
+
explicitly asked for (a report, a walkthrough, per-phase notes) is not debt,
|
|
73
|
+
give it in full, the rule is only against unrequested prose.
|
|
74
|
+
|
|
75
|
+
Pattern: `[code] → skipped: [X], add when [Y].`
|
|
76
|
+
|
|
77
|
+
## Intensity
|
|
78
|
+
|
|
79
|
+
| Level | What change |
|
|
80
|
+
|-------|------------|
|
|
81
|
+
| **lite** | Build what's asked, but name the lazier alternative in one line. User picks. |
|
|
82
|
+
| **full** | The ladder enforced. Stdlib and native first. Shortest diff, shortest explanation. Default. |
|
|
83
|
+
| **ultra** | YAGNI extremist. Deletion before addition. Ship the one-liner and challenge the rest of the requirement in the same breath. |
|
|
84
|
+
|
|
85
|
+
Example: "Add a cache for these API responses."
|
|
86
|
+
- lite: "Done, cache added. FYI: `functools.lru_cache` covers this in one line if you'd rather not own a cache class."
|
|
87
|
+
- full: "`@lru_cache(maxsize=1000)` on the fetch function. Skipped custom cache class, add when lru_cache measurably falls short."
|
|
88
|
+
- ultra: "No cache until a profiler says so. When it does: `@lru_cache`. A hand-rolled TTL cache class is a bug farm with a hit rate."
|
|
89
|
+
|
|
90
|
+
## When NOT to be lazy
|
|
91
|
+
|
|
92
|
+
Never simplify away: input validation at trust boundaries, error handling
|
|
93
|
+
that prevents data loss, security measures, accessibility basics, anything
|
|
94
|
+
explicitly requested. User insists on the full version → build it, no
|
|
95
|
+
re-arguing.
|
|
96
|
+
|
|
97
|
+
Never lazy about understanding the problem. The ladder shortens the
|
|
98
|
+
solution, never the reading. Trace the whole thing first — every file the
|
|
99
|
+
change touches, the actual flow — before picking a rung. Laziness that skips
|
|
100
|
+
comprehension to ship a small diff is the dangerous kind: it dresses up as
|
|
101
|
+
efficiency and ships a confident wrong fix. Read fully, then be lazy.
|
|
102
|
+
|
|
103
|
+
Hardware is never the ideal on paper: a real clock drifts, a real sensor
|
|
104
|
+
reads off, a PCA9685 runs a few percent fast. Leave the calibration knob, not
|
|
105
|
+
just less code, the physical world needs tuning a minimal model can't see.
|
|
106
|
+
|
|
107
|
+
Lazy code without its check is unfinished. Non-trivial logic (a branch, a
|
|
108
|
+
loop, a parser, a money/security path) leaves ONE runnable check behind, the
|
|
109
|
+
smallest thing that fails if the logic breaks: an `assert`-based
|
|
110
|
+
`demo()`/`__main__` self-check or one small `test_*.py`. No frameworks, no
|
|
111
|
+
fixtures, no per-function suites unless asked. Trivial one-liners need no
|
|
112
|
+
test, YAGNI applies to tests too.
|
|
113
|
+
|
|
114
|
+
## Boundaries
|
|
115
|
+
|
|
116
|
+
Ponytail governs what you build, not how you talk (pair with Caveman for
|
|
117
|
+
terse prose). "stop ponytail" / "normal mode": revert. Level persists until
|
|
118
|
+
changed or session end.
|
|
119
|
+
|
|
120
|
+
The shortest path to done is the right path.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ponytail",
|
|
3
|
+
"version": "4.9.0",
|
|
4
|
+
"upstream_url": "https://github.com/DietrichGebert/ponytail/tree/v4.9.0/skills/ponytail",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"skill_path": "skills/ponytail/SKILL.md",
|
|
7
|
+
"license_path": "skills/ponytail/LICENSE",
|
|
8
|
+
"notice_path": "skills/ponytail/NOTICE",
|
|
9
|
+
"skill_sha256": "1316a2f3f95741d2300b116fe0c2d81ce4a9568656ed0a62643f54aaf09957f2",
|
|
10
|
+
"license_sha256": "fb1bc6909ac3ef82d5c22106e32ef682b0cff66788fa915fb9b53b15c9d2f3ab",
|
|
11
|
+
"notice_sha256": "63859c12f8df7a216f0e34110d6e69e881f1f157e563c2e5761ad75f70c13759"
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: programming
|
|
3
|
+
description: Use for bounded implementation, fixes, tests, or manifests when the seam and acceptance behavior are decided.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Implement only the assigned seam, because repository-native ownership and a proportional proof keep a small change reviewable.
|
|
7
|
+
|
|
8
|
+
Owner: Worker. Boundary: inspect required callers and tests, preserve typed boundaries and portability, edit only approved files, make one bounded clarity pass, and escalate material choices.
|
|
9
|
+
|
|
10
|
+
Completion: the requested behavior and focused tests are present, changed files are inspected, diagnostics and proportional checks pass, and structured evidence names residual risk or a precise blocker.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Programming"
|
|
3
|
+
short_description: "Implement a decided seam with proportional proof."
|
|
4
|
+
default_prompt: "Implement the assigned seam, add focused proof, inspect the changed files, and return structured evidence."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refactor
|
|
3
|
+
description: Restructure one decided seam while preserving behavior and interfaces.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: change only the assigned seam and preserve ownership, dependency direction, and public behavior.
|
|
7
|
+
Completion: changed files and behavior-locked checks are clean.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Refactor"
|
|
3
|
+
short_description: "Restructure one decided seam while preserving behavior and interfaces."
|
|
4
|
+
default_prompt: "Refactor the assigned seam, preserve interfaces, and return focused proof."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remove-slop
|
|
3
|
+
description: Remove proven boilerplate or cruft from explicit changed files.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Owner: Worker. Boundary: clean only proven slop in changed files and preserve behavior, voice, and interfaces.
|
|
7
|
+
Completion: the cleanup has behavior-locked proof and no unrelated edits.
|