@solaqua/ghosts 0.4.4 → 0.4.5

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 CHANGED
@@ -62,6 +62,7 @@ For installation selectors, use the source path, such as `--include skills/code-
62
62
  | [grill-me](engineering/skills/grill-me/SKILL.md) | Stress-test a plan or idea through focused questions. |
63
63
  | [work-breakdown](engineering/skills/work-breakdown/SKILL.md) | Break a goal into reviewable work packages with dependencies and execution order. |
64
64
  | [task-handoff](engineering/skills/task-handoff/SKILL.md) | Prepare concise handoffs for independent implementation tasks. |
65
+ | [delegate](engineering/skills/delegate/SKILL.md) | Hand work to another Orca agent or supervise it through completion with a concise brief. |
65
66
  | [github-issue](engineering/skills/github-issue/SKILL.md) | Create or update GitHub issues, sub-issues, and dependencies. |
66
67
  | [github-pr](engineering/skills/github-pr/SKILL.md) | Commit and push changes, then create or update their pull request. |
67
68
  | [stack-pr](engineering/skills/stack-pr/SKILL.md) | Implement GitHub issues in parallel and build stacked PRs in dependency order. |
@@ -10,6 +10,8 @@ Consider every question below. Mark irrelevant questions `N/A — <reason>`. The
10
10
  ```text
11
11
  Review the change read-only:
12
12
 
13
+ Write findings and summaries using ISO 24495-1:2023 Plain Language principles.
14
+
13
15
  AI-generated changes can overcomplicate simple problems; question whether added code or tests are needed at all, and consider omission before adding another layer.
14
16
 
15
17
  - Any correctness or operational risks, including bugs, edge cases, race conditions, resource leaks, performance bottlenecks, scalability concerns, or security issues?
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: ghosts:delegate
3
+ description: Use when the user asks to hand work to another Orca agent or supervise delegated work through completion. Pass only the context the recipient needs.
4
+ ---
5
+
6
+ Delegate the user's task through Orca. Read and follow the applicable `orca-cli` or `orchestration` skill.
7
+
8
+ Before continuing an existing thread, read the user's added instructions.
9
+
10
+ Prefer Markdown with bullets for the brief. Follow ISO 24495-1:2023 Plain Language principles so the recipient can find, understand, and use the information they need. Use direct sentences, explicit actions, and consistent terms. Omit rhetorical flourishes. Include only what is needed:
11
+
12
+ - References to issues, PRs, or existing threads.
13
+ - Goals, completion criteria, confirmed decisions, constraints, and excluded scope missing from those references.
14
+ - Skills the user requested.
15
+
16
+ Do not restate referenced content, reminders to read root instructions, general development or testing guidance, or skill-internal procedures and report formats. Do not omit important decisions or constraints for brevity.
@@ -18,6 +18,7 @@ description: When the user asks to publish, sync, or manage GitHub work, commit
18
18
 
19
19
  - Use `gh pr edit --body-file - <<'EOF'` as the default PR body path.
20
20
  - If the repository has a pull request template that GitHub recognizes, preserve its required structure. Otherwise, follow [templates/pull_request_template.md](templates/pull_request_template.md) and replace each placeholder or omit the section as it directs.
21
+ - Use closing keywords for linked issues the PR fully resolves.
21
22
  - Write for a reviewer who may not know the repository or the work's prior context. Use direct language, preserve precise domain terms, and make essential premises explicit.
22
23
  - Keep the body readable in one screen without scrolling. Include files or implementation details only when essential for review.
23
24
  - Always group related points under subheadings or nested lists instead of one flat list.
@@ -33,7 +33,9 @@ For HTML and UI:
33
33
  Report findings with locations, evidence, and the smallest useful cleanup. Say when no useful cleanup is found.
34
34
  ```
35
35
 
36
- After the subagent responds, judge each suggestion: does it reduce the user's burden, or merely remove useful context or shift complexity elsewhere? Apply supported cleanups within the requested scope and run relevant checks. For code, verify affected behavior; for documents and presentations, check meaning and layout; for HTML and UI, check affected flows and rendered states when available. If asked for review only, report without editing. Leave the artifact unchanged when no useful cleanup remains.
36
+ After the subagent responds, apply useful cleanups within the requested scope by default. Do not skip a cleanup merely because its benefit is small or a hypothetical risk exists. Reject suggestions that provide no useful improvement or have a concrete downside that outweighs the benefit. If a credible concern remains unresolved, investigate it or mark the cleanup `BLOCKED`.
37
+
38
+ Run relevant checks. For code, verify affected behavior; for documents and presentations, check meaning and layout; for HTML and UI, check affected flows and rendered states when available. If asked for review only, report without editing. Leave the artifact unchanged when no useful cleanup remains.
37
39
 
38
40
  Report in the user's language. For a small cleanup, briefly explain what was removed or combined, why, and how it was checked. Mention rejected suggestions only when their tradeoff helps explain the outcome. If there are no findings, say so.
39
41
 
@@ -5,9 +5,7 @@ description: Use when the user asks to implement GitHub issues in parallel and b
5
5
 
6
6
  Read the requested issues, sub-issues, dependencies, relevant comments, and existing PRs with `gh`. Resolve each task's repository, scope, completion criteria, and actual prerequisites. Parent membership is not a dependency. Reuse existing work rather than starting duplicate branches or PRs.
7
7
 
8
- Run independent, ready issues in parallel, with one implementation agent per issue in an isolated worktree. Give each agent the issue, agreed direction, prerequisites, exact base commit, and completion criteria. The main agent owns scheduling, branch topology, and publication; workers return their change, review results, and checks.
9
-
10
- In Orca, use `orca-cli` to create and supervise worktrees with `worktree create --agent <current-agent-id> --prompt <task-brief> --json`, using the current agent's Orca launcher unless the user specifies another agent. Use `--no-parent` for independent work, and `--parent-worktree <predecessor>` with `--base-branch <reviewed-ref>` for successors; lineage alone does not select the Git base. Verify each checkout's base and use the returned agent handle to track results. Keep coordinator ownership through completion rather than making a full handoff.
8
+ Use `ghosts:delegate` to run independent, ready issues in parallel and supervise them through completion, with one implementation agent per issue in an isolated worktree. Assign each worker an exact base commit and verify the checkout starts from it before implementation. The main agent owns scheduling, branch topology, and publication; workers return their change, review results, and checks.
11
9
 
12
10
  Any missing decision, dependency cycle, or overlapping ownership that makes parallel work unsafe? Resolve it before starting the affected tasks; continue unrelated work. Use `ghosts:grill-me` for material decisions and `ghosts:work-breakdown` when an issue still needs decomposition.
13
11
 
@@ -1,37 +1,19 @@
1
1
  ---
2
2
  name: ghosts:task-handoff
3
- description: Generate concise task handoffs for independent implementation workstreams.
3
+ description: Use when the user asks to prepare handoff text for independent implementation tasks without dispatching agents.
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
7
- Generate up to two concise English handoffs for independent implementation tasks by default. If the invocation specifies a positive maximum N, generate up to N handoffs; treat N as a cap. Output each handoff in a code block; do not create a handoff document.
7
+ Generate up to two concise English handoffs for independent implementation tasks by default. If the invocation specifies a positive maximum N, generate up to N handoffs; treat N as a cap. Output each handoff in a code block; do not create a handoff document, dispatch agents, update task status, or change Git state.
8
8
 
9
- Use the configured project-notes and task-tracker system. If the source is unclear, ask which one to use before making updates.
9
+ Read relevant entries in the configured project-notes and task-tracker system. If the source is unclear, ask which one to use.
10
10
 
11
- Before writing:
11
+ Select tasks that can proceed fully in parallel with their prerequisites satisfied. Exclude tasks already in progress, awaiting review, or complete. Treat tasks with merged PRs as complete and implemented but unmerged tasks as awaiting review. Choose the eligible set of up to N tasks that minimizes overlap in files or modules they are likely to modify. If all tracked tasks are complete, report that; if none are ready, report the blockers instead of creating handoffs.
12
12
 
13
- 1. Read relevant project notes and task entries.
14
- 2. Sync the base branch with the latest remote state.
15
- 3. Mark implementation tasks with merged PRs `DONE`; keep implemented but unmerged tasks `REVIEW`.
16
- 4. Select implementation tasks not marked `[DOING]` and mark selected tasks `[DOING]`.
17
- 5. If all tracked tasks are complete, report that instead of creating handoffs.
13
+ Prefer Markdown with bullets inside each code block. Follow ISO 24495-1:2023 Plain Language principles so the recipient can find, understand, and use the information they need. Use direct sentences, explicit actions, and consistent terms. Omit rhetorical flourishes. Include only what the recipient needs:
18
14
 
19
- ## Handoff Content
15
+ - References to issues, PRs, or existing threads.
16
+ - Goals, completion criteria, confirmed decisions, constraints, and excluded scope missing from those references.
17
+ - Skills the user requested.
20
18
 
21
- Include only:
22
-
23
- - task
24
- - problem
25
- - solution direction
26
- - completed work
27
- - next task and starting point
28
- - done criteria
29
- - required project-notes and repository startup commands, including base-branch sync
30
-
31
- Keep the problem and solution direction concise. Do not repeat commands already required by `AGENTS.md` or `CLAUDE.md`.
32
-
33
- ## Constraints
34
-
35
- - Include only tasks that can proceed fully in parallel; do not combine tasks with ordering or dependency relationships.
36
- - When generating multiple handoffs, choose the eligible set of up to N tasks that minimizes overlap in files or modules they are likely to modify. Use the task scopes and file/module references in project notes and task entries to estimate overlap.
37
- - Do not mention branch or worktree details.
19
+ Do not restate referenced content, reminders to read root instructions, general development or testing guidance, or skill-internal procedures and report formats. Do not omit important decisions or constraints for brevity. Do not include branch or worktree details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solaqua/ghosts",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Reusable agent skills and reviewers.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -25,6 +25,8 @@ When the audience is unclear, write for a technically capable teammate who knows
25
25
 
26
26
  ## Language
27
27
 
28
+ Follow ISO 24495-1:2023 Plain Language principles.
29
+
28
30
  Preserve technical precision and use domain terminology when useful. This does not require explaining every repository convention, avoiding technical language, or writing for a complete beginner.
29
31
 
30
32
  Prefer direct, literal statements to mannered metaphor or flourish. When a literal phrase is available, use it instead of making readers decode language that mainly performs the writer or introduces unintended connotations.
@@ -6,6 +6,8 @@ disable-model-invocation: true
6
6
 
7
7
  Read the request, target skill, and nearby conventions. Ask only when a missing decision would change behavior. Write `SKILL.md` in the requested location or the repository's skill structure.
8
8
 
9
+ Write skill instructions using ISO 24495-1:2023 Plain Language principles.
10
+
9
11
  Put activation in the frontmatter description and the main action first in the body. Keep every detail that changes the result; remove everything that does not. Preserve required inputs, outputs, constraints, and edge cases. Prefer a direct instruction or an `Any ...?` question over a procedure. Keep examples or references only when they resolve ambiguity. Do not add invented requirements, mandatory logs, checklists, or diagrams.
10
12
 
11
13
  Prefer established terms of art that activate a precise mental model over enumerating its familiar mechanics. Keep the applicability condition and observable result explicit; expand a term only where ambiguity would change behavior. Avoid invented jargon and strings of labels without an action.