autosnippet-candidates

Extract layered code metadata and quality scores into Candidate JSON payloads.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-candidates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autosnippet-candidates
Source: https://github.com/GxFn/AutoSnippet/tree/main/skills/autosnippet-candidates
Command: npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-candidates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AutoSnippet candidates are the structured, review-ready inputs that turn scattered code observations into high-quality Recipes. This Skill bridges the gap between raw code analysis and knowledge-base contributions by producing multi-layer metadata, scoring, and context links that reduce duplicates and speed up governance.

Core Features & Use Cases

  • Layered information extraction (Layer 1-3) from code and docs to produce comprehensive Candidate payloads.
  • Multi-dimensional quality scoring (code quality, documentation quality, project adaptability) to prioritize reviews.
  • Single-file and batch Target scan workflows to scale candidate generation across projects.
  • Contextual similarity checks against existing Recipes to detect duplicates, conflicts, or opportunities for merging.
  • MCP tool integration for candidate submission to a dashboard with envelope metadata.
  • Draft and annotations support for human-in-the-loop review.

Quick Start

  • Run a single-file scan on a target file such as Sources/Network/RequestManager.swift to generate candidates.
  • Or perform a batch Target scan by selecting a target with autosnippet_get_targets, obtaining files via autosnippet_get_target_files, then submitting candidates with autosnippet_submit_candidates.
  • Review the Candidates in the Dashboard and approve or adjust before publication to the knowledge base.

Frequently Asked Questions about autosnippet-candidates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate code snippet candidates with quality metrics from my project files?

Code snippet candidate generation extracts multi-layer information and quality metrics from source files to produce standardized JSON payloads, reducing duplicates and accelerating governance review for your knowledge base.

How do I batch scan project targets to extract code candidates for a knowledge base?

Batch scanning project targets to extract code candidates requires selecting a target, retrieving files via autosnippet_get_target_files, and submitting enriched JSON payloads with autosnippet_submit_candidates for dashboard review.

Does AutoSnippet detect duplicate code recipes before submitting candidates?

AutoSnippet detects duplicate code recipes before submitting candidates by performing contextual similarity checks against existing Recipes to identify duplicates, conflicts, or opportunities for merging during the extraction workflow.

What code quality and documentation metrics are evaluated when generating snippet candidates?

Code quality, documentation quality, and project adaptability are the multi-dimensional metrics evaluated when generating snippet candidates to prioritize and speed up the human-in-the-loop review process.

Can I review and annotate generated snippet candidates before publishing to the knowledge base?

You can review and annotate generated snippet candidates before publishing to the knowledge base by utilizing the draft and annotations support for human-in-the-loop review within the dashboard workflow.

What is the difference between a single-file scan and a batch Target scan for code candidate extraction?

A single-file scan extracts code candidates from one specific file, while a batch Target scan scales candidate generation across an entire project by iterating through retrieved target files to produce comprehensive JSON payloads.