AGENT SKILL

validation_handoff

Forces the agent to conclude its response by generating a strict validation checklist and outlining pending actions, focusing heavily on defensive execution and edge-case testing.

License 许可
MIT
最近更新
2026-08-25
Stars
★ 0
Forks
0

01 前言 Front Matter

trigger
Unconditional execution at the end of any feature implementation, refactor, or system architecture modification.
version
1.0.0
skill_name
validation_handoff_hook
description
Forces the agent to conclude its response by generating a strict validation checklist and outlining pending actions, focusing heavily on defensive execution and edge-case testing.

03 SKILL.md 正文

⚙️ Execution Rules

When concluding a task, you must append a final section titled ### ?️ Pending Actions & Validation Handoff. Do not wait for a prompt to do this; it is a required structural hook.

Analyze the logic you just implemented and generate a checklist based on the following defensive criteria:

1. Vulnerability & Boundary Checks

Identify 2-3 specific edge cases related to the implemented feature. Focus on:

  • Path Traversal & Malformed Inputs: (e.g., ../../../etc/passwd, unexpected nulls).
  • Capacity & Memory Ceilings: (e.g., bypassing pagination, loading 50k+ items into memory, file size mismatches).
  • Type Parity: Ensure cross-language boundaries (if applicable) have explicit type validation.

2. Infrastructure & Entitlement Scopes

Identify 1-2 environmental or deployment checks:

  • Permissions: What explicit sandbox entitlements, IAM roles, or read/write permissions are required for this to execute?
  • Observability: What specific logs or telemetry should the user verify to ensure the new logic is traceable?

3. Pending Architectural Steps

List any immediate next steps required to integrate this component into the broader system, particularly focusing on CI/CD pipelines or database schema migrations.

? Output Format Specification

Output the results strictly as a markdown checklist. Be concise.

Example Output:

?️ Pending Actions & Validation Handoff

Things you'd want to test:

  • [ ] Paste owner/../../etc → should refuse with "Couldn't parse that" prior to execution.
  • [ ] Load torvalds/linux → verify tree exceeds 50k items and errors out cleanly instead of pinning the UI.
  • [ ] Pick a folder where one file's actual size is much larger than its tree-reported size → ensure that file is classified as over-cap rather than reaching memory.

Infrastructure Verification:

  • [ ] Inspect the built .app entitlements (codesign -d --entitlements - <app>): should show only app-sandbox, network.client, files.user-selected.read-write, and get-task-allow.

Pending Next Steps:

  • [ ] Update the central routing schema to register the new endpoint handlers.

04 同仓库更多 Skills

carlosmarte
carlosmarte/ai-agent-artifacts

project-ployglot-project-scafford

Scaffold a polyglot library project as TypeScript + Python twin packages under `packages/ts/` + `packages/py/`, with a shared `SPEC.md`, cross-language `tests/parity/fixtures.json`, side-by-side `examples/sdk/` + `examples/api/` documentation, per-package `Makefile`, and a root orchestrator that exposes `make ci`. Open-source friendly — no organization-specific paths or scopes baked in. Use when starting a new polyglot library, porting a single-language library to a twin, or auditing/regularizing an existing two-language repo against the canonical layout.

★ 0
carlosmarte
carlosmarte/ai-agent-artifacts

playwright-ui-locator

Auto-heal Playwright tests after a frontend developer changes a div's class, id, or other selector. Catches a failing Playwright test, captures the old vs new DOM tree, finds the element that drifted, derives the most stable replacement locator, and proposes the fix as a GitHub pull request (confident heals) or files a GitHub issue (ambiguous / element-removed cases) — never editing the working tree directly. Trigger when Playwright tests fail with "locator resolved to 0 elements", "Timeout waiting for selector", or after a UI refactor / class rename / Tailwind cleanup broke previously-passing tests.

★ 0
carlosmarte
carlosmarte/ai-agent-artifacts

org-learn-context-window

Distill the current conversation into a reusable command or skill artifact. Use when the user wants to capture a workflow they just executed (create a reusable slash command) or formalize a resolution/mistake/correction into a reusable skill so the same class of issue never recurs.

★ 0
carlosmarte
carlosmarte/ai-agent-artifacts

org-agent-skill-creator

Scaffold and validate scope-aware agent skills (company, enterprise, org, team, project, application). Use when the user asks to create a new agent skill, generate a SKILL.md file, scaffold a skill directory, or validate that existing skill directories meet SKILL_SPEC.md (frontmatter, naming rules, structure, scope/tier).

★ 0
carlosmarte
carlosmarte/ai-agent-artifacts

app-workshop-session-pdf-recap-next

Extract content from a workshop session PDF and produce a structured recap focused on (1) what was learned, (2) next steps, and (3) possible enhancements. Ingests a single PDF file path, parses session material (slides, transcripts, exercises, Q&A), and emits a Markdown report with Learning Recap, Next Steps, and Enhancement Opportunities sections with page-level traceability. Use when the user asks to "summarize a workshop", "recap a training PDF", "pull next steps from a session deck", or provides a workshop/seminar/tutorial PDF and wants a learn-and-act summary.

★ 0
carlosmarte
carlosmarte/ai-agent-artifacts

app-workshop-recaps-consolidate

Consolidate multiple workshop-session recap Markdown files (typically produced by the workshop-session-pdf-recap-next skill) into a single unified report. Merges and deduplicates learnings across sessions and emits six sections — Consolidated Recap, Follow-ups, Action Items, Next Steps, Possible Enhancements, and Industry / External Viewpoint. The last section supplements the attendees' material with current external perspective via web research. Use when the user has a set of per-session recap files and wants one portfolio-level summary with an outside-in lens ("consolidate these recaps", "merge my workshop notes", "cross-session summary", "roll up action items").

★ 0