Skip to content
Back to skills

Add Feature Extractor

ASecurity

Scaffold new feature extractor (e.g. novel metric) with C source+header, registry entry, doc stub, smoke test. Produces no SIMD or GPU path — those come via /add-simd-path and /add-gpu-backend.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
developmentpythonrailsbackenddocumentation

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add VMAFx/vmafx --skill add-feature-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Feature Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Feature Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vmafx-add-feature-extractor/badge)](https://www.skillsdirectory.com/skills/vmafx-add-feature-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-feature-extractor
description: Scaffold new feature extractor (e.g. novel metric) with C source+header, registry entry, doc stub, smoke test. Produces no SIMD or GPU path — those come via /add-simd-path and /add-gpu-backend.
---
<!-- markdownlint-disable MD060 -->

# /add-feature-extractor

## Invocation

```text
/add-feature-extractor <name> [--type=full-reference|no-reference]
```

## Files created

| Path                                        | Purpose                                    |
|---------------------------------------------|--------------------------------------------|
| `core/src/feature/<name>.c`              | Scalar reference implementation            |
| `core/src/feature/<name>.h`              | Prototype                                  |
| `core/test/test_<name>.c`                | Smoke test (1 frame, fixed expected value) |
| `docs/<name>.md`                            | Metric documentation (inputs, range, refs) |

## Files patched

- `core/src/feature/feature_extractor.c`: registry row.
- `core/src/feature/all.c`: `#include "<name>.h"` + array entry.
- `core/src/meson.build`: new source in feature set.
- `core/test/meson.build`: register test.

## Template fills

- Extractor struct: `extract` pointer, name, type (FR/NR), features exposed.
- No SIMD / GPU variants wired: feature exists first as scalar reference;
  SIMD/GPU paths tested against it later.

## Guardrails

- Names collide-checked against existing registry.
- Smoke test must pass (non-NaN, finite) against sample YUVs in
  `python/test/resource/yuv/`.

Files in this skill

  • SKILL.md1.6 KB
  • scaffold.sh957 B
  • templates/feature.c.template997 B
  • templates/feature.h.template721 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.