Feat/embed agent skill#53
Merged
Merged
Conversation
added 2 commits
July 5, 2026 16:43
Ship a CoCo-fy skill for AI coding agents inside the binary via go:embed, emitted with `cococtl skill` (mirrors the `completion` command). Users redirect it into their agent's skills dir; no git clone or separate download needed, and it always matches the installed binary version. README documents the install command. Signed-off-by: Pradipta Banerjee <pkbanerj@agranilabs.com>
Run make fmt: import ordering and gofmt alignment only, no logic changes. Signed-off-by: Pradipta Banerjee <pkbanerj@agranilabs.com>
There was a problem hiding this comment.
Pull request overview
Adds an embedded “cocofy” agent skill to cococtl (shipped inside the binary and printable via a new cococtl skill command), along with README guidance for installing it into an AI agent skills directory.
Changes:
- Add embedded skill content (
pkg/skill/SKILL.md) and expose it via a newcococtl skillCobra command. - Document the skill and installation steps in
README.md; ignore local.claude/config in.gitignore. - Minor formatting/gofmt-only cleanups in a few Go files.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents the embedded agent skill and how to install it for an AI coding agent. |
| pkg/trustee/trustee.go | gofmt/import order cleanup and trailing whitespace removal. |
| pkg/trustee/trustee_test.go | Trailing whitespace removal. |
| pkg/trustee/kbs.go | Trailing whitespace removal. |
| pkg/skill/SKILL.md | Adds the embedded “cocofy” agent skill content. |
| pkg/skill/skill.go | Embeds SKILL.md into the binary via go:embed. |
| pkg/skill/skill_test.go | Verifies embedded skill content is present and has expected frontmatter. |
| pkg/initdata/initdata.go | Updates a comment (but introduces an unintended quote sequence). |
| cmd/skill.go | Adds new cococtl skill command to print embedded skill content. |
| cmd/kbs/populate.go | gofmt alignment/import order cleanup. |
| cmd/initdata/common.go | gofmt/import order cleanup. |
| .gitignore | Ignores .claude/ local config directory. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
|
|
||
| // marshalInitData serialises InitData to TOML using ''' literal multi-line strings | ||
| // marshalInitData serialises InitData to TOML using ”' literal multi-line strings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.