feat(onedev): redistribute TOD's agent skills through a plugin wrapper #136

Merged
Defame1297 merged 1 commits from feat/onedev-tod-skills into main 2026-09-20 19:47:38 +00:00
3 changed files with 70 additions and 0 deletions

View File

@@ -36,6 +36,13 @@
"category": "Version Control", "category": "Version Control",
"source": "./plugins/gitea" "source": "./plugins/gitea"
}, },
{
"name": "onedev",
"description": "Skills and agents for working with a OneDev forge through the TOD CLI — the forge's own objects, as distinct from the local git clone.",
"version": "0.1.0",
"category": "Version Control",
"source": "./plugins/onedev"
},
{ {
"name": "core", "name": "core",
"description": "Skills for authoring and auditing a repo's AGENTS.md and the provider adapter files that defer to it.", "description": "Skills for authoring and auditing a repo's AGENTS.md and the provider adapter files that defer to it.",

16
apm.yml
View File

@@ -28,6 +28,18 @@ dependencies:
path: plugins/kyberforge path: plugins/kyberforge
- git: git@git.dev.rkdr.net:Defame1297/holocron.git - git: git@git.dev.rkdr.net:Defame1297/holocron.git
path: plugins/lint path: plugins/lint
# TOD's skills arrive transitively through this wrapper rather than as a
# direct entry, so the marketplace and this repo consume onedev by the same
# path. The pin lives in plugins/onedev/apm.yml: third-party content is
# pinned, unlike the six first-party entries above, which stay unpinned for
# default-branch parity.
#
# Resolves only once plugins/onedev is on the remote's main — until then
# `apm install` fails, which includes the copy kyberforge's SessionStart
# hook runs on launch. Accepted deliberately: this branch is merging
# immediately.
- git: git@git.dev.rkdr.net:Defame1297/holocron.git
path: plugins/onedev
mcp: [] mcp: []
# Turns apm's executable-trust gate ON. Without this block the gate is disabled # Turns apm's executable-trust gate ON. Without this block the gate is disabled
@@ -97,6 +109,10 @@ marketplace:
source: ./plugins/gitea source: ./plugins/gitea
category: Version Control category: Version Control
- name: onedev
source: ./plugins/onedev
category: Version Control
- name: core - name: core
source: ./plugins/core source: ./plugins/core
category: Productivity category: Productivity

47
plugins/onedev/apm.yml Normal file
View File

@@ -0,0 +1,47 @@
name: onedev
version: 0.1.0
description: Skills and agents for working with a OneDev forge through the TOD CLI — the forge's own objects, as distinct from the local git clone.
author:
name: Defame1297
email: defame1297@rkdr.net
url: https://git.dev.rkdr.net/Defame1297/
license: MIT
homepage: https://git.dev.rkdr.net/Defame1297/holocron/src/branch/main/plugins/onedev
repository: https://git.dev.rkdr.net/Defame1297/holocron/src/branch/main/plugins/onedev
keywords:
- onedev
- tod
- issues
- pulls
- builds
- iterations
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
targets:
- claude
- copilot
- codex
# "auto" publishes the authoritative local source layout, or list explicit
# repo paths to define the complete publication set.
includes: auto
# This package currently carries no primitives of its own — it exists so the
# marketplace can redistribute upstream TOD. `marketplace.packages` entries
# take `source: ./plugins/<name>` (a local path), so a third-party git repo
# cannot be listed directly; a consumer installing `onedev` from the holocron
# marketplace picks up TOD's eight skills transitively through this entry.
#
# Pinned on purpose, unlike the six first-party dependencies in the root
# apm.yml. Those are unpinned for default-branch parity because they are this
# repo's own published content; TOD is third-party, so tracking its `main`
# would import someone else's drift. Bump this tag deliberately.
dependencies:
apm:
- code.onedev.io/onedev/tod#v4.3.4
mcp: []
devDependencies:
apm: []
scripts: {}