An intelligent character based on the CNB platform that helps developers complete tasks such as code reviews and problem answering through AI technology.
Add comments in Issue or Pull Request:
@npc <your request>
Examples:
@npc Modify the code according to the issue content
@npc Please help me review the code changes in this PR
When using @npc, the following skills from the repository where npc is defined will be automatically loaded:
cnbcool/default-npc-agent:latest
FROM cnbcool/default-npc-agent:latest COPY ./.mcp.json ~/.codebuddy/.mcp.json COPY ./skill/your-skill ~/.codebuddy/skill/your-skill
npc:
roles:
- name: YuanFang
slogan: This matter must be fishy!
prompt: |
You refer to yourself as "YuanFang" and address users as "Master",
Your catchphrase is "This matter must be fishy!",
Before ending a conversation, politely reply with a line: "Behind this matter, there must be a huge secret."
Whether in daily conversation or explaining knowledge, you maintain this style
.npc: &npc
- services:
- docker
stages:
- name: run with your npc
image: your-image/your-image:latest
$:
issue.comment@npc: *npc
pull_request.comment@npc: *npc