@yandy-r/ycc-opencode 6.1.1 → 6.2.0
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 +7 -3
- package/agents/code-researcher.md +3 -3
- package/agents/feature-researcher.md +1 -1
- package/agents/implementor.md +4 -4
- package/agents/pr-comment-fixer.md +1 -1
- package/agents/release-fix-applier.md +1 -1
- package/agents/review-fixer.md +1 -1
- package/package.json +1 -1
- package/shared/references/artifact-store.md +613 -0
- package/shared/references/branch-prep.md +2 -0
- package/shared/references/forge-detection.md +3 -2
- package/shared/references/review-artifact-format.md +13 -6
- package/shared/references/review-checklist.md +3 -2
- package/shared/references/review-dispatch.md +15 -10
- package/shared/references/target-capability-matrix.md +42 -6
- package/shared/references/visual-mode.md +19 -13
- package/shared/references/worktree-strategy.md +12 -8
- package/shared/scripts/artifact-body.sh +71 -0
- package/shared/scripts/artifact-store-pointer.sh +245 -0
- package/shared/scripts/ci-monitor.sh +9 -4
- package/shared/scripts/collect-linear-keys.sh +77 -0
- package/shared/scripts/lib/ci-classify.sh +13 -10
- package/shared/scripts/lib/forge.sh +13 -4
- package/shared/scripts/prepare-feature-branch.sh +96 -10
- package/shared/scripts/release-ci-monitor.sh +2 -2
- package/shared/scripts/report-bundle-drift.sh +1 -1
- package/shared/scripts/resolve-artifact-store.sh +636 -0
- package/shared/scripts/validate-file-paths.sh +11 -4
- package/skills/blueprint/SKILL.md +48 -13
- package/skills/clean/SKILL.md +1 -1
- package/skills/clean/scripts/detect-project-type.sh +2 -2
- package/skills/clean/scripts/generate-report.sh +34 -5
- package/skills/clean/scripts/validate-safety.sh +9 -6
- package/skills/code-report/SKILL.md +26 -14
- package/skills/code-report/scripts/check-prerequisites.sh +72 -12
- package/skills/code-report/templates/report-structure.md +1 -1
- package/skills/code-review/SKILL.md +68 -17
- package/skills/code-review/references/pr-procedure.md +28 -15
- package/skills/compatibility-audit/scripts/audit-target-features.sh +1 -1
- package/skills/deep-research/SKILL.md +28 -5
- package/skills/deep-research/references/completion-summary-template.md +3 -2
- package/skills/deep-research/scripts/validate-research.sh +8 -2
- package/skills/feature-research/SKILL.md +48 -25
- package/skills/feature-research/scripts/validate-research.sh +51 -12
- package/skills/feature-research/scripts/validate-spec.sh +53 -22
- package/skills/feature-research/templates/research-agents.md +15 -14
- package/skills/feature-research/templates/spec-structure.md +5 -0
- package/skills/formatters/scripts/apply-aliases.sh +3 -1
- package/skills/formatters/scripts/apply-ci.sh +3 -1
- package/skills/git-workflow/SKILL.md +2 -1
- package/skills/git-workflow/references/pr-creation.md +10 -0
- package/skills/git-workflow/scripts/analyze-changes.sh +21 -11
- package/skills/git-workflow/scripts/create-pr.sh +51 -6
- package/skills/git-workflow/scripts/validate-commit.sh +26 -14
- package/skills/hooks-workflow/scripts/verify-hooks.sh +1 -1
- package/skills/implement-plan/SKILL.md +35 -16
- package/skills/implement-plan/references/agent-task-prompt.md +8 -5
- package/skills/implement-plan/references/linear-sync.md +20 -0
- package/skills/implement-plan/references/output-formats.md +17 -2
- package/skills/implement-plan/references/plan-inputs.md +23 -4
- package/skills/implement-plan/scripts/check-prerequisites.sh +95 -49
- package/skills/implement-plan/scripts/parse-dependencies.sh +10 -10
- package/skills/init/SKILL.md +77 -42
- package/skills/init/references/flag-reference.md +41 -17
- package/skills/init/references/project-profile-heuristics.md +3 -0
- package/skills/init/references/template-library.md +15 -5
- package/skills/init/scripts/profile-project.sh +26 -0
- package/skills/init/scripts/render-template.py +2 -2
- package/skills/init/templates/AGENTS.md.tmpl +6 -0
- package/skills/init/templates/git/gitignore.tmpl +5 -0
- package/skills/orchestrate/SKILL.md +17 -2
- package/skills/parallel-plan/SKILL.md +14 -8
- package/skills/plan/SKILL.md +18 -2
- package/skills/plan/references/planning-tracks.md +1 -1
- package/skills/plan-workflow/SKILL.md +67 -32
- package/skills/plan-workflow/references/checkpoint-messages.md +23 -14
- package/skills/plan-workflow/references/plan-structure.md +1 -1
- package/skills/plan-workflow/references/planning-agents.md +11 -9
- package/skills/plan-workflow/references/research-agents-optimized.md +12 -10
- package/skills/plan-workflow/references/research-agents.md +11 -10
- package/skills/plan-workflow/scripts/check-prerequisites.sh +50 -11
- package/skills/plan-workflow/scripts/check-state.sh +53 -9
- package/skills/plan-workflow/scripts/persist-or-fail.sh +21 -7
- package/skills/plan-workflow/scripts/validate-analysis-artifacts.sh +28 -14
- package/skills/plan-workflow/scripts/validate-research-artifacts.sh +35 -10
- package/skills/plan-workflow/scripts/validate-shared.sh +56 -15
- package/skills/plan-workflow/scripts/validate-workflow-plan.sh +48 -17
- package/skills/pr-autofix/SKILL.md +19 -4
- package/skills/pr-autofix/references/output-templates.md +3 -2
- package/skills/pr-autofix/scripts/fetch-pr-comments.sh +1 -2
- package/skills/pr-autofix/scripts/post-summary.sh +1 -2
- package/skills/pr-autofix/scripts/resolve-thread.sh +3 -4
- package/skills/prp-implement/SKILL.md +31 -16
- package/skills/prp-implement/references/agent-task-prompt.md +5 -2
- package/skills/prp-implement/references/detection.md +4 -1
- package/skills/prp-implement/references/linear-sync.md +25 -0
- package/skills/prp-implement/references/report-output.md +15 -2
- package/skills/prp-plan/SKILL.md +62 -30
- package/skills/prp-plan/references/enhanced-researchers.md +8 -9
- package/skills/prp-plan/scripts/validate-prp-plan.sh +42 -18
- package/skills/prp-pr/SKILL.md +14 -1
- package/skills/prp-prd/SKILL.md +21 -9
- package/skills/prp-spec/SKILL.md +30 -20
- package/skills/quick-fix/SKILL.md +6 -4
- package/skills/quick-review/SKILL.md +62 -25
- package/skills/release-model/scripts/collect-signals.sh +9 -3
- package/skills/releaser/scripts/publish-release.sh +6 -3
- package/skills/research-to-issues/SKILL.md +33 -14
- package/skills/research-to-issues/scripts/validate-prerequisites.sh +45 -23
- package/skills/research-to-issues/templates/task-issue.md +4 -0
- package/skills/research-to-issues/templates/tracking-issue.md +3 -0
- package/skills/review-fix/SKILL.md +96 -14
- package/skills/review-fix/references/fix-report.md +10 -10
- package/skills/review-fix/references/plan.md +5 -2
- package/skills/shared-context/SKILL.md +14 -11
- package/skills/visual-plan/SKILL.md +26 -8
- package/skills/visual-recap/SKILL.md +1 -1
- package/skills/write-docs/scripts/audit-documentation.sh +44 -10
- package/skills/write-docs/scripts/generate-doc-index.sh +10 -3
package/README.md
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
# @yandy-r/ycc-opencode
|
|
2
2
|
|
|
3
3
|
Experimental, opt-in [OpenCode](https://opencode.ai) V2 plugin carrying the ycc bundle
|
|
4
|
-
(version 6.
|
|
4
|
+
(version 6.2.0). It is unlisted and never the default install: the
|
|
5
5
|
`install.sh --target opencode` file copy remains the primary path.
|
|
6
6
|
|
|
7
7
|
Requires OpenCode `>=2.0.30` (V2 plugin API; V1 hook plugins are not supported).
|
|
8
8
|
|
|
9
9
|
## Enable
|
|
10
10
|
|
|
11
|
-
Add the package to the V2 `plugins` array in your own `opencode.json
|
|
11
|
+
Add the package to the V2 `plugins` array in your own `opencode.json`, pinned to an exact release:
|
|
12
12
|
|
|
13
13
|
```json
|
|
14
|
-
{ "plugins": ["@yandy-r/ycc-opencode"] }
|
|
14
|
+
{ "plugins": ["@yandy-r/ycc-opencode@6.2.0"] }
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Pin the version instead of using the bare name. Right after a release, the registry can briefly serve
|
|
18
|
+
stale `latest` metadata, and early placeholder versions of this package (`0.0.0-*`) were never
|
|
19
|
+
loadable plugins. Bump the pin when you upgrade.
|
|
20
|
+
|
|
17
21
|
A local checkout loads with a directory entry (`"file:///abs/path/to/packages/opencode/ycc-opencode"`),
|
|
18
22
|
not the `index.js` file.
|
|
19
23
|
|
|
@@ -54,7 +54,7 @@ When tasked with codebase research, you will:
|
|
|
54
54
|
1. **Conduct Wide-Scope Analysis**: Systematically explore the codebase structure, focusing on understanding the overall architecture, data flow patterns, and component relationships specific to your research focus. Pay special attention to existing patterns that relate to the research objective.
|
|
55
55
|
2. **Identify Edge Cases and Gotchas**: Actively search for unusual implementations, workarounds, legacy code patterns, and potential pitfalls. Look for comments that explain "why" decisions were made, especially those that seem counterintuitive.
|
|
56
56
|
3. **Document Architectural Patterns**: Catalog recurring design patterns, architectural decisions, and structural approaches used throughout the codebase.
|
|
57
|
-
4. **Generate Research Report**: Create a concise markdown
|
|
57
|
+
4. **Generate Research Report**: Create a concise markdown report at the caller-supplied path, or return it inline when no path is supplied:
|
|
58
58
|
- **Overview**: Brief summary of key findings (2-3 sentences)
|
|
59
59
|
- **Relevant Files**: List of important file paths with one-line descriptions
|
|
60
60
|
- **Architectural Patterns**: Identified design patterns and architectural decisions (brief bullet points)
|
|
@@ -71,7 +71,7 @@ When tasked with codebase research, you will:
|
|
|
71
71
|
- Keep descriptions concise and actionable
|
|
72
72
|
- Focus on linking to relevant code rather than reproducing it
|
|
73
73
|
- Highlight patterns that would impact new feature development
|
|
74
|
-
|
|
74
|
+
Use this example report structure (the caller chooses any output path):
|
|
75
75
|
|
|
76
76
|
```md
|
|
77
77
|
# Title
|
|
@@ -98,5 +98,5 @@ When tasked with codebase research, you will:
|
|
|
98
98
|
- External documentation, or file paths to other internal documentation
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
You do NOT modify source code or create executable/source files.
|
|
101
|
+
You do NOT modify source code or create executable/source files. Write findings only to the markdown file path the caller provides, using the Write tool without asking. With no supplied path, return findings inline without creating a file or asking for a destination. The caller owns artifact-store resolution and persistence. Your sole focus is thorough research and clear documentation of findings.
|
|
102
102
|
Your research reports should be comprehensive yet concise, focusing on actionable insights that will help developers understand the codebase architecture and make informed implementation decisions.
|
|
@@ -68,7 +68,7 @@ When researching for a new feature, you will:
|
|
|
68
68
|
|
|
69
69
|
### 3. **Create Planning Document**
|
|
70
70
|
|
|
71
|
-
Generate a concise research report
|
|
71
|
+
Generate a concise research report using the structure below. If the caller supplies a target markdown path, write only to that path using the Write tool and return the findings inline. With no supplied path, return the report inline without creating a file; the caller owns artifact-store resolution and persistence.
|
|
72
72
|
|
|
73
73
|
```markdown
|
|
74
74
|
# [Feature/Topic Name] Research
|
package/agents/implementor.md
CHANGED
|
@@ -47,17 +47,17 @@ You implement specific software changes as instructed. You do NOT:
|
|
|
47
47
|
- Add features not explicitly requested
|
|
48
48
|
- Attempt to solve broader architectural problems
|
|
49
49
|
|
|
50
|
+
Never call Linear MCP or other external tracker tools; report status only to the orchestrator. Never edit plan files or their frontmatter.
|
|
51
|
+
|
|
50
52
|
## Working Directory
|
|
51
53
|
|
|
52
54
|
If your task prompt contains a `Working directory: <path>` line, treat that path
|
|
53
55
|
as your repo root for ALL file operations. Specifically:
|
|
54
56
|
|
|
55
|
-
- Every
|
|
57
|
+
- Every Write / Edit must target paths underneath this directory. Read / Glob / Grep do too, except explicitly supplied absolute plan/context paths are read-only inputs and may live in the invoking checkout's artifact cache.
|
|
56
58
|
- Every Bash `cd`, `git`, or path-dependent command must operate relative to this
|
|
57
59
|
directory (use `git -C <path>` or `cd` at the top of the command).
|
|
58
|
-
- Never mix
|
|
59
|
-
are distinct git checkouts; mixing them corrupts the single-worktree setup the
|
|
60
|
-
orchestrating skill selected.
|
|
60
|
+
- Never mix implementation writes between the parent repo clone and the working directory. They are distinct git checkouts; only explicitly supplied read-only plan/context paths may cross that boundary.
|
|
61
61
|
- In the current contract, the working directory is usually the shared feature
|
|
62
62
|
worktree (`<worktree-root>/<repo>-<feature>/`) used by every task in the run.
|
|
63
63
|
`<worktree-root>` is the active runtime's repo-local worktree root; the
|
|
@@ -523,7 +523,7 @@ Validate `PROJECT TYPE-CHECK COMMAND` against this allowlist before execution:
|
|
|
523
523
|
|
|
524
524
|
If the value starts with `SKIP (` and ends with `)`, skip validation and report `TYPE-CHECK: Skipped (<reason>)`.
|
|
525
525
|
|
|
526
|
-
If the value is not allowlisted and is not a `SKIP (...)` token, do NOT run it (
|
|
526
|
+
If the value is not allowlisted and is not a `SKIP (...)` token, do NOT run it (OpenCode and OMP block any other shell command natively; on other runtimes this rule is yours to keep). Report `STATUS: Failed` with `BLOCKER: type-check command not allowlisted — <value>`.
|
|
527
527
|
|
|
528
528
|
Execute the allowlisted command via Bash. If type-check passes for your modified file: report success.
|
|
529
529
|
|
|
@@ -513,7 +513,7 @@ If `PROJECT TYPE-CHECK COMMAND` or `PROJECT BUILD COMMAND` is included and appli
|
|
|
513
513
|
| Go | `go vet ./...` | `go build ./...` |
|
|
514
514
|
| Python | `pytest` / `python -m mypy <file>` / `python3 -m mypy <file>` | — |
|
|
515
515
|
|
|
516
|
-
Do not run a provided command outside this table (
|
|
516
|
+
Do not run a provided command outside this table (OpenCode and OMP block any other shell command natively; on other runtimes this rule is yours to keep). Return `RESULT: cannot-fix` with `REASON: command not allowlisted — <value>`.
|
|
517
517
|
|
|
518
518
|
### 5. Return one of two response shapes
|
|
519
519
|
|
package/agents/review-fixer.md
CHANGED
|
@@ -521,7 +521,7 @@ other non-allowlisted value as safe.
|
|
|
521
521
|
|
|
522
522
|
Execute the validated command via a safe program+args API (for example, `spawn` or `execFile`), never via shell-string interpolation. If file scoping is used, pass the filename as a separate argument token.
|
|
523
523
|
|
|
524
|
-
If `PROJECT TYPE-CHECK COMMAND` is not allowlisted, do NOT run it (
|
|
524
|
+
If `PROJECT TYPE-CHECK COMMAND` is not allowlisted, do NOT run it (OpenCode and OMP block any other shell command natively; on other runtimes this rule is yours to keep). Report `STATUS: Failed` with `BLOCKER: type-check command not allowlisted — <value>`.
|
|
525
525
|
|
|
526
526
|
If the type-check passes for your modified file: report success.
|
|
527
527
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yandy-r/ycc-opencode",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Experimental opt-in OpenCode V2 plugin registering the ycc bundle (skills, agents, commands, MCP servers, and session instructions) through its setup hook. The file-copy install remains the primary path.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|