dinhanhthi/coding-friend · plugin/skills/cf-tdd/SKILL.md

cf-tdd skillA

cf-tdd is agent-read markdown (skill) from dinhanhthi/coding-friend: Gate before writing production code — direct implementation by default, TDD (RED→GREEN→REFACTOR) with `--add-tests` or config `tdd: true`. TRIGGER — any new feature, implementation, or refactor: "implement this", "build this feature", "create a function", "add a new endpoint", "write the implementation", "refactor this", "write a test", "add tests", "create a component", "implement the API", "add a route"; also when planning shifts into writing code — load this first. SKIP — docs-only changes, c.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add dinhanhthi/coding-friend/cf-tdd@git:20260909.6451e3d
Exact content
mdr add dinhanhthi/coding-friend/cf-tdd@sha256:c027e91a7baf1526

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bn2gakq6pcga2ime.svg)](https://markdownregistry.com/a/art_bn2gakq6pcga2ime)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260909.6451e3d latest2026-09-09 6451e3d 5,755 BA view · diff
git:20260909.31596732026-09-09 3159673 5,748 BA view · diff
git:20260827.debd9792026-08-27 debd979 7,647 BA view · diff
git:20260704.bf827bf2026-07-04 bf827bf 8,074 BA view · diff
git:20260614.5d668872026-06-14 5d66887 7,969 BA view · diff
git:20260606.1e4d2902026-06-06 1e4d290 12,596 BA view · diff
git:20260521.323d0512026-05-21 323d051 12,677 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5755 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dinhanhthi/coding-friend · 3 stars · license MIT · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bn2gakq6pcga2ime
GET https://markdownregistry.com/api/v1/resolve?ref=dinhanhthi/coding-friend/cf-tdd
GET https://markdownregistry.com/api/v1/blob/c027e91a7baf152613ccd3d80c177a3e4970bc4348e1fc0f82430644a5456564