contribute
Skill21 starsChanged 9 months agoMITView on GitHub
Use when changing the NiCE Cognigy Plugin itself: adding or editing a plugin skill, an agent, an MCP tool or tool operation, a tool or field description, a _hints action or a server-instructions rule, or when a feature request arrives as a workflow description and it is unclear where it belongs. Not for using the plugin against a Cognigy tenant.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- yairbarak22/TutorAItheir own version, first seen Nov 29, 2026
- changeroa/iyen-skillstheir own version, first seen Nov 22, 2026
- gdhub-io/character-forge-mcptheir own version, first seen Nov 15, 2026
- chrisconviviera/conviviera-claude-plugintheir own version, first seen Nov 12, 2026
- egregore-labs/egregoretheir own version, first seen Nov 6, 2026
- grafana/gcxtheir own version, first seen Nov 2, 2026
Used with
Projects with it also use review-pr.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DockerSkillreview-pr
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- mindfold-ai/Trellis★ 15ksame name
- gluestack/gluestack-ui★ 5.3ksame name
- Devolutions/IronRDP★ 3.4ksame name
- grafana/gcx★ 850same name
- egregore-labs/egregore★ 293same name
- manor-os/manor-ai★ 158same name
- inite-ai/inite-brain-service★ 43same name
- yusukebe/skills★ 36same name
- changeroa/iyen-skills★ 14same name
- zajca/pohunek★ 10same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- add-client-platformSkill
- add-evalSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Extend an existing skill: Add a new skill only for a new user intent.
- Very specific: line 37
Extend an existing tool: Add an operation before you add a tool, and add a tool only for a new domain.
- Very specific: line 70
Never assume the newest platform.
- Distinctive: line 99
Never bump a version by hand.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contribute to the Cognigy plugin
The plugin has two layers. Skills and agents (plugin/skills, plugin/agents) teach the workflow. The MCP engine (src/) executes it. Users reach every capability through a skill, so start from the user's workflow, not from the API endpoint.
.claude/CLAUDE.md holds the architecture and the hard-won platform gotchas (flow chart model, environments, audit attribution). Read the parts your change touches.
1. Pick the dev skill
| The change | Use |
A plugin skill, agent, tool, tool operation, description, _hints action or instructions rule | this skill |
| An eval case, grader, mock or baseline, and the check after any skill, agent, description or behaviour change | add-eval, after this skill (section 6) |
| A new AI client or IDE the plugin installs into | add-client-platform only. Skills and tools reach every client without changes. |
| Installer, config, proxy or release scripts for existing clients | neither. Follow .claude/CLAUDE.md and run the tests. |
2. Decide where each piece goes
| What you are writing | Where it goes |
| Steps, order, prerequisites, platform gotchas, wording for the user | plugin skill body |
| When the skill should load: the user's words and synonyms | skill description |
| What a tool does and does not do, one clause per operation, what it returns, irreversibility | tool description in src/tools/definitions.ts |
| Meaning, range, default and example of one field | field description |
| What to do next after one specific result (offer a backup, poll a task, show a URL, retry) | withHints(result, { action }) in the handler |
| A rule where a miss can't be undone or misleads the user | src/instructions.ts. Rare, and capped at 2,000 chars. |
| A guard that must hold even when no skill is loaded | code: refuse or hold the call |
| A long multi-step job that should run in its own context and return a summary | agent plugin/agents/<id>.md |
Order of preference:
- Extend an existing skill. Add a new skill only for a new user intent. There is no one-skill-per-tool rule.
- Extend an existing tool. Add an operation before you add a tool, and add a tool only for a new domain. There are 21 tools, most of them dispatchers with an
operationfield. Fewer tools mean better tool choice. - A next step goes in the hint, not the skill. A hint fires exactly after the result it belongs to, in every client. The skill names it only when the step needs workflow context the hint can't carry.
- Enforce in code what must hold. The Claude Desktop connector loads no skills, and evals run without
src/instructions.ts. If a miss is irreversible or leaves broken state, the handler enforces it. Examples: the backup gate holds the first change withbackup_not_offered, and deleting a brand persona that agents still use is refused withpersona_in_use.
3. Write or change a plugin skill
- Location:
plugin/skills/<id>/SKILL.mdwithname(the folder id) anddescriptionfrontmatter. There is no registry. Claude Code, Codex and Cursor read the folder, andscripts/copy-assets.mjsships it to Antigravity. - The description is the trigger, not a summary. Start with "Use when the user...". Use the user's words and every synonym they use.
s2s-demolists "speech-to-speech (S2S, also called voice-to-voice or V2V)". Name what the skill does not cover when a neighbour skill does. Stay under 1,024 chars. - The body is the workflow. Steps in order, the tool and operation per step, preconditions, and the gotchas the model can't infer. Don't restate a tool's contract, the model already sees it. Don't repeat the hard rules from
src/instructions.ts. - Product terms in user-facing text. "AI Agent", "legacy AI Agent", "speech-to-speech". Old or internal names go into the description as synonyms only.
- A skill named in a tool description or in
src/instructions.tsmust exist.toolSurfaceBudget.test.tschecks every "<id>skill" reference. - Agents (
plugin/agents/<id>.md):name, adescriptionthat says when to delegate and what comes back, andskills:to preload. A subagent can't ask the user. Its body says what to do when something is missing (stop and return), and the main thread names the environment in its prompt.
4. Add or change a tool
| File | Role |
src/tools/definitions.ts | The LLM-facing contract: name, description, annotations, JSON Schema |
src/schemas/tools.ts | Zod schema, parsed at the top of the handler |
src/tools/handlers.ts | handle<Name>(args) plus a case in handleToolCall() |
src/tools/filters.ts | filterResponse(kind, obj) strips internal fields; add a kind for a new resource type |
src/__tests__/ | schemas.test.ts, tools.test.ts or a file per tool, with a mocked CognigyApiClient |
README.md | The Tools table, for a new tool only |
Templates: ${CLAUDE_SKILL_DIR}/templates/definition.ts, schema.ts and handler.ts. Read the closest existing tool too, it beats the template.
- Requirements. Operations, the endpoint per operation (method and path), required and optional fields.
- Definition. The description is a contract: 3 to 6 sentences, at most 1,000 chars, no numbered steps. Field descriptions at most 450 chars. Put enum meaning in the description, the values are already in
enum.toolSurfaceBudget.test.tsenforces the caps. When it fails, move prose to the skill or a hint instead of raising the cap. - Zod schema. A discriminated union on
operationfor multi-operation tools. Validate IDs in the shape the API uses:idSchemafor 24-char hex ids,z.string().uuid()for AI Agent reference ids. Keep the JSON Schema and Zod in step: same enums, same fields required by every operation, andnullallowed in both or in neither. A multi-operation JSON Schema stays flat with only the shared fields inrequired. Each Zod branch enforces its own operation's fields, and the field description says which operations need it ("Required for ..."). The model only sees the JSON Schema, and only Zod runs. - Handler.
- Call the Cognigy API only through
this.apiClient. It adds the API key, retries, proxy support and the audit-attribution header. A caller-supplied or external URL (an agent's endpoint, an A2A agent card) uses bareaxioswithgetProxyAxiosOptions(url)instead, so the Cognigy key never goes to another host.talk_to_agentandcheckA2AAgentCardshow the pattern. - Return filtered results, and attach the next step with
withHints. - Classify the tool for the backup gate:
BACKUP_WORTHY_TOOLSinhandlers.tsif it changes an existing agent or project, otherwise read-only or listed as exempt with a reason.snapshotToolSurface.test.tsfails until you decide. - Never assume the newest platform. Probe a feature-flagged or release-gated feature (
probeCapabilitiesinsrc/tools/agentsV2.ts, reported bycheck_capabilities), or degrade in the handler. On an older platform return a clear result with a hint, never a raw 400 or 404. - Mirror what the Cognigy UI requires, not only what the API requires. If the UI can't save a resource without a field, the plugin sets a sensible default (new AI Agents get a brand persona).
- Call the Cognigy API only through
- Wire it into a skill (section 3). Usually an existing skill gains a step.
- Tests. Schema: valid input, missing fields, bad ids, every operation. Handler: the right endpoint and payload per operation, the error paths and the hints.
5. Check against a real tenant
Unit tests and eval mocks only show what their author assumed. Before the PR, run npm run plugin:dev. It points the plugin at your working tree: the engine runs from src/, and skills and agents are copied. Without it, Claude Code runs the installed release and you test nothing you changed. Then run the changed workflow once on a real test tenant, interactively or with a headless claude -p. npm run plugin:dev:off restores the release.
- Response shapes and field projections.
GET /chart/nodesreturns each node type's defaults, not the stored config. - Paging per endpoint:
skip,offsetorpage/pageSizediffer. - Open what the plugin created in the Cognigy UI and save it once.
- Name test resources so they are easy to find and delete afterwards.
6. Hand off to add-eval
Follow add-eval when you changed a plugin skill, an agent, a tool or field description, or tool behaviour that the mock tenant in plugin/evals/mocks/platform/_server.md describes. A new tool always needs it: add it to tools: in _server.md and run npm run evals:tools. Evals make paid model calls, so ask before a full run. Engine changes that leave descriptions and behaviour unchanged need no evals.
7. Verify and ship
npx tsc -p tsconfig.json --noEmit
npm test -- --runInBand
npm run lint
npx prettier --write <changed files> # .prettierignore skips skills and evals on its own
npm run check:manifest # only when a plugin manifest changed- Conventional Commits.
feat,fix,perf,refactor,docsandrevertcut a release (.releaserc.json),chore,test,buildandcidon't. Anything undersrc/orplugin/ships, so it takes a release type, an internal refactor included (refactor). Only changes outside the shipped package (dev skills, tests, CI) usechore,test,buildorci. - Never bump a version by hand. semantic-release sets the plugin and engine version together.
Common mistakes
| Mistake | Fix |
| A new tool for something an existing tool's domain covers | Add an operation |
| Workflow steps in a tool description | Move them to the skill |
| "Next step" advice in a skill that only applies after one specific result | A _hints action |
| A must-hold rule only in prose | Enforce it in the handler |
| A skill description that summarizes the workflow | List the triggers and synonyms |
| Verified only against mocks | Run it once on a real tenant and open it in the UI |
| A skill or description change without evals | add-eval |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

