Skip to content

Add skill library, prompt-injection guardrail, A2A agent card#221

Merged
JE-Chen merged 1 commit into
devfrom
feat/agent-batch
Jun 19, 2026
Merged

Add skill library, prompt-injection guardrail, A2A agent card#221
JE-Chen merged 1 commit into
devfrom
feat/agent-batch

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jun 19, 2026

Copy link
Copy Markdown
Member

Round-2 backlog, batch 3 — three pure-stdlib tools for LLM/agent-driven automation, each wired through all five layers (facade, AC_*, MCP, Script Builder) with headless tests + EN/Zh v13 docs + README sections.

Features

  • Skill / playbook library (utils/skill_library) — SkillLibrary / Skill: JSON-backed store of named, reusable action sequences; save/get/remove/names/search/run (replays through the executor). AC_skill_save/run/list/remove/search + ac_skill_*.
  • Prompt-injection guardrail (utils/guardrail) — scan_text/assess_text/redact_text: heuristic scan of untrusted screen/OCR text for injection patterns (instruction-override, system-prompt exfiltration, jailbreak/chat-template markers); severity-weighted score + redaction. AC_guard_text + ac_guard_text.
  • A2A agent card (utils/a2a) — build_agent_card/write_agent_card: A2A-protocol agent card from live metadata + curated skills. AC_agent_card + ac_agent_card.

Verification

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 97 complexity · 1 duplication

Metric Results
Complexity 97
Duplication 1

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen JE-Chen merged commit b6b677e into dev Jun 19, 2026
16 checks passed
@JE-Chen JE-Chen deleted the feat/agent-batch branch June 19, 2026 00:10
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant