karpathy-guidelines SKILL.md skillA

karpathy-guidelines from index-login/mobilere-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add index-login/mobilere-skill/karpathy-guidelines@git:20260803.71f8be9

Pins git:20260803.71f8be9 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
index-login/mobilere-skill
Path
.kilo/skill/karpathy-guidelines/SKILL.md
Versions recorded
1
Latest version
git:20260803.71f8be9, committed Aug 3, 2026
Size
2,274 bytes
Repository stars
252
License
MIT

减少 LLM 常见编码错误的行为准则。在编写、审查或重构代码时使用,避免过度设计、精准修改、暴露假设、定义可验证的成功标准。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Karpathy 编码准则

**取舍:** 这些准则偏向谨慎而非速度。对于简单任务,自行判断。

## 1. 先想后写

**不假设,不隐藏困惑,暴露权衡。**

开始实现前:
- 明确陈述假设。如果不确定,提问。
- 如果存在多种解读,列出它们——不要默默选择一种。
- 如果有更简单的方案,指出来。有必要时坚持己见。
- 如果某个地方不清楚,停下来。说出困惑点。提问。

## 2. 简洁优先

**最少代码解决问题。不写投机性代码。**

- 不添加未请求的功能。
- 不为单次使用的代码创建抽象。
- 不添加未被要求的"灵活性"或"可配置性"。
- 不为不可能发生的场景做错误处理。
- 如果写了 200 行但可以缩减到 50 行,重写。

问自己:"资深工程师会说这过度设计吗?"如果是,简化。

## 3. 精准修改

**只动必须动的。只清理自己造成的烂摊子。**

编辑已有代码时:
- 不"顺手优化"相邻的代码、注释或格式。
- 不重构没坏的东西。
- 匹配已有风格,即使你对此有不同意见。
- 如果注意到无关的死代码,提出来——但不要删除它。

当你的改动产生孤儿代码时:
- 删除由你的改动导致不再使用的 import / 变量 / 函数。
- 不要删除改动前就存在的死代码,除非被要求。

检验标准:每一行改动都应直接追溯到用户的需求。

## 4. 目标驱动执行

**定义成功标准。循环迭代直到验证通过。**

将任务转化为可验证的目标:
- "添加验证" → "为无效输入写测试,然后让测试通过"
- "修复 bug" → "写一个能复现的测试,然后让它通过"
- "重构 X" → "确保重构前后测试都通过"

对于多步骤任务,先给出简要计划:
```
1. [步骤] → 验证: [检查项]
2. [步骤] → 验证: [检查项]
3. [步骤] → 验证: [检查项]
```

强成功标准让你能独立迭代。弱标准("把它弄好")需要不断澄清。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add index-login/mobilere-skill/karpathy-guidelines@sha256:c160393dc48c6ffa

The line at the top of this page pins the label git:20260803.71f8be9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 3, 2026.

versioncommittedcommitsizeaudit
git:20260803.71f8be9 latest2026-08-03 71f8be9 2,274 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (2274 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

index-login/mobilere-skill · 252 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_44lxljvwfkww6wtv
GET https://markdownregistry.com/api/v1/resolve?ref=index-login/mobilere-skill/karpathy-guidelines
GET https://markdownregistry.com/api/v1/blob/c160393dc48c6ffa11721ca5a94a562a87f68d37f051fc8aa83a6a4f117facf0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from index-login/mobilere-skill

dex-mem-dump SKILL.md skill
index-login/mobilere-skill · .kilo/skill/dex-mem-dump/SKILL.md · 运行时 DEX 内存 dump / 脱壳(root 直读 /proc/<pid>/mem,不注入、不 ptrace):常规解包拿不到、抽取壳未回填、或目标查 TracerPid 时用。流程:推工具 → 跑 → 拉回 → 清理;分诊与排障见…
git:20261023.3fb7043 · audit A · 252 stars
frida-mobile-security SKILL.md skill
index-login/mobilere-skill · .kilo/skill/frida-mobile-security/SKILL.md · 用于 Android/iOS 移动应用安全逆向分析:Frida 动态插桩、绕过反调试/反注入/加固壳、脱壳、加密与 native SO 层 hook、运行时行为分析、jadx-mcp 静态攻击面分析、离线 SO 静态分析(ELF…
git:20261108.0f92827 · audit A · 252 stars
func-naming SKILL.md skill
index-login/mobilere-skill · .kilo/skill/func-naming/SKILL.md · 已知地址判断函数用途/算法(无符号函数命名):先查 .dynsym,再取字符串/魔数/成对调用特征,最后回填命名。SO 层深挖的单步能力,入口仍在 frida-mobile-security;恢复结构体用 native-analysis…
git:20261108.0f92827 · audit A · 252 stars
so-emulate SKILL.md skill
index-login/mobilere-skill · .kilo/skill/so-emulate/SKILL.md · 用 Unicorn 离线调试/模拟单个 SO 函数:不启动 App 跟踪执行、对给定输入复算算法、解密或解码数据,或绕过 JNI/syscall/libc 等环境依赖。当用户要跑一个函数、验证算法输出、批量试输入、或真机 hook…
git:20261023.8337634 · audit A · 252 stars
so-function-recovery SKILL.md skill
index-login/mobilere-skill · .kilo/skill/so-function-recovery/SKILL.md · 大型加固 SO 函数级还原流水线(2000+ 函数、无 .eh_frame、CFF 混淆、内嵌字节码 VM)。用台账三层筛选替代逐个读函数,用指针表交叉检查函数边界,用动态 trace 反推 VM…
git:20261108.cdc9cbf · audit A · 252 stars
vmp-analysis SKILL.md skill
index-login/mobilere-skill · .kilo/skill/vmp-analysis/SKILL.md · 字节码 VM / VMP 壳逆向的执行流水线:从"确认是 VM"到"反汇编出可读指令"的 8 步固定流程。用 profile 描述编码模型(换壳只换 JSON),用动态 trace 反推 opcode 编码,用命中率 > 95%…
git:20261108.d0b8de4 · audit A · 252 stars
AGENTS.md AGENTS.md file
index-login/mobilere-skill · AGENTS.md
git:20261108.83cd5a4 · audit A · 252 stars

Every file in index-login/mobilere-skill

Other files named karpathy-guidelines

karpathy-guidelines SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/karpathy-guidelines/SKILL.md · 提供一组面向编码行为的轻量约束,帮助代理在动手前暴露假设、优先简单方案、保持改动外科化,并把任务改写成可验证目标。 当任务容易被误解、过度设计、顺手扩散改动,或需要先锁定成功标准时使用。
git:20260512.6523792 · audit A · 1,537 stars
karpathy-guidelines SKILL.md skill
coco-research/coco · skills/karpathy-guidelines/SKILL.md · Pointer to the upstream skill for behavioural guidelines that reduce common LLM coding mistakes, installed from…
git:20261008.3d24d40 · audit A · 629 stars
karpathy-guidelines SKILL.md skill
cowork-os/cowork-os · resources/skills/karpathy-guidelines/SKILL.md · Surgical execution guardrails for coding, debugging, review, and refactor tasks
v1.0.0 · audit A · 535 stars
karpathy-guidelines SKILL.md skill
mxyhi/ok-skills · karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260508.0cab7e8 · audit A · 510 stars
karpathy-guidelines SKILL.md skill
openyida/openyida · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260728.2c22517 · audit A · 231 stars
karpathy-guidelines SKILL.md skill
youdotcom-oss/agent-skills · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260723.e470633 · audit A · 98 stars
karpathy-guidelines SKILL.md skill
rudycity/superagent · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral rules to minimize common LLM coding pitfalls. Applies to all code creation, modification, review, and…
git:20260702.4f76578 · audit A · 64 stars
karpathy-guidelines SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260428.dfccef3 · audit A · 48 stars

Browse by kind, by grade A, or by owner.