Skip to content
Back to skills

Config Transcription Verification

ASecurity

When extracting hardcoded data to JSON, field values silently drift:

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsjavascriptjava

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill config-transcription-verification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Config Transcription Verification?

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

Security grade badge for Config Transcription Verification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-config-transcription-verification/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-config-transcription-verification)

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: config-transcription-verification
description: "When extracting hardcoded data to JSON, field values silently drift:"
lastReviewed: 2026-04-30
---

# Config Transcription Verification

## The Problem

When extracting hardcoded data to JSON, field values silently drift:

```javascript
// Original code
const buttons = [
  { icon: 'play', label: 'Start', action: 'start' },
  { icon: 'stop', label: 'Stop', action: 'stop' }
];
```

```json
// Transcribed JSON (with typos)
{
  "buttons": [
    { "icon": "play", "label": "Start", "action": "begin" },
    { "icon": "pause", "label": "Stop", "action": "stop" }
  ]
}
```

Two errors: `action: "begin"` instead of `"start"`, `icon: "pause"` instead of `"stop"`.

## The Solution

Cross-check every field against the source.

### Manual Verification Checklist

```markdown
## Transcription Verification

Source: `src/buttons.js` lines 12-18

| Field | Original | JSON | ✓ |
|-------|----------|------|---|
| button[0].icon | play | play | ✅ |
| button[0].label | Start | Start | ✅ |
| button[0].action | start | start | ✅ |
| button[1].icon | stop | stop | ✅ |
| button[1].label | Stop | Stop | ✅ |
| button[1].action | stop | stop | ✅ |
```

### Automated Verification Script

```javascript
// scripts/verify-transcription.cjs
const source = require('../src/buttons.js').buttons;
const transcribed = require('../config/buttons.json').buttons;

source.forEach((srcItem, i) => {
  const jsonItem = transcribed[i];
  Object.keys(srcItem).forEach(key => {
    if (srcItem[key] !== jsonItem[key]) {
      console.error(`Mismatch at [${i}].${key}: "${srcItem[key]}" vs "${jsonItem[key]}"`);
      process.exitCode = 1;
    }
  });
});

if (!process.exitCode) console.log('Transcription verified ✓');
```

## High-Risk Fields

| Field Type | Risk | Verification |
|------------|------|--------------|
| Icon names | High — typos render wrong icon | Visual check |
| Action strings | High — breaks functionality | Unit test |
| Labels | Medium — visible to users | Spell check |
| IDs | High — breaks references | Grep for usage |

## Verification

1. Every field in original has matching field in JSON
2. No extra fields added
3. Order preserved where it matters
4. Verification script passes

## When to Apply

- Extracting config from code
- Migrating between formats
- Manual data entry from specs
- Any transcription task

## Tags

`build` `configuration` `verification` `migration`

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.