@GitHub_Daily: 很多初学者都用 AI 写代码,但项目报错时不会自己调,又是反复问 AI,无法快速定位问题。 ownyourcode,一个让 AI 当导师不当码农的工具,只负责引导、提问、审查,代码还是我们自己敲。 每个开发任务完成前,需过六道质量关卡,逼…
摘要
ownyourcode 是一款让 AI 充当导师而非代码生成器的工具,通过引导、提问和审查帮助开发者真正理解代码,项目包含六道质量关卡。
查看缓存全文
缓存时间: 2026/07/15 15:56
很多初学者都用 AI 写代码,但项目报错时不会自己调,又是反复问 AI,无法快速定位问题。
ownyourcode,一个让 AI 当导师不当码农的工具,只负责引导、提问、审查,代码还是我们自己敲。
每个开发任务完成前,需过六道质量关卡,逼着我们真的搞懂代码,而不是复制粘贴了事。
GitHub:http://github.com/DanielPodolsky/ownyourcode…
按学习阶段分了初级、转行、面试准备几档,教学方式跟着调整。
想借 AI 提速、又不想把脑子全交出去的开发者,可以拿试下它。
DanielPodolsky/ownyourcode
Source: https://github.com/DanielPodolsky/ownyourcode
AI-Mentored Development
AI guides, you build. You own the result.
v2.7.0 · MIT License
The Problem
AI coding tools optimize for shipping. The risk: code that works but isn’t truly yours. Hard to debug without context. Hard to extend without asking again. Hard to defend when it matters.
OwnYourCode flips this. AI becomes your mentor, not your coder. It guides, questions, and reviews — but you write the code.
The result: Code you understand. Code you can extend. Code that’s actually yours.
Who This Is For
Profile selection is part of /own:init. Choose your profile and OwnYourCode adapts its teaching style.
| Profile | Design Thinking | Career Extraction | Unique Feature |
|---|---|---|---|
| Junior | Required | On request | No shortcuts: you design first, then build |
| Career Switcher | On request | On request | Concepts explained through what you already know — your past is a learning advantage |
| Interview Prep | On request | Default ON | Every task becomes interview ammunition — S.T.A.R story and resume bullet extraction |
| Experienced | On request | On request | You have the experience, get direct feedback and peer-level collaboration |
| Custom | On request | On request | Mix and match to fit how you learn |
Profiles adapt HOW we teach. The core (6 Gates, code reviews, quality) stays the same. Change anytime with /own:profile.
Quick Start
macOS / Linux
curl -sSL https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/scripts/base-install.sh | bash
cd your-project && ~/ownyourcode/scripts/project-install.sh
Windows (PowerShell)
irm https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/scripts/base-install.ps1 | iex
cd your-project
irm https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/scripts/project-install.ps1 | iex
Initialize
/own:init
How It Works
The 4 Protocols
| Protocol | Rule |
|---|---|
| Active Typist | You write all code. AI provides patterns (max 8 lines), guidance, and reviews. |
| Socratic Teaching | AI asks questions instead of giving answers. |
| Evidence-Based | AI verifies with official docs before answering. |
| Systematic Debugging | READ → ISOLATE → DOCS → FIX. |
The 6 Gates
Before completing any task, your code passes through 6 quality checkpoints:
Gate 1 blocks completion. Can’t explain your code? Don’t ship it.
The Flywheel
Learnings compound across projects. Patterns that worked. Mistakes you won’t repeat. Career value extracted from every task.
Commands
Core Workflow
| Command | Purpose |
|---|---|
/own:init | Set your profile, stack, and goals |
/own:feature | Plan with spec-driven development — and, for the Junior profile, build it via the predict-before-reveal loop (Phase 6) |
/own:advise | Query past learnings before starting |
/own:guide | Optional implementation help (for the Junior profile the gym now runs inline in /own:feature Phase 6) |
/own:stuck | Debug systematically |
/own:done | Complete with gates + code review |
/own:retro | Capture learnings |
Junior profile note: implementation for juniors happens inside
/own:feature(Phase 6) as a predict-before-reveal loop — you commit a prediction before the AI reveals code, then get graded on it./own:guideremains available for ad-hoc help but is no longer the primary path to writing code.
Utilities
| Command | Purpose |
|---|---|
/own:status | Check progress, tasks, and career stats |
/own:profile | View or change your profile |
/own:theme | Restyle your project dashboard |
/own:test | Guide through writing tests |
/own:docs | Guide through writing documentation |
MCP Setup (Recommended)
MCPs provide real-time documentation and production code examples.
# Context7 — Official documentation lookup
claude mcp add context7 --transport http https://mcp.context7.com/mcp
# Octocode — GitHub code search
https://octocode.ai/#installation
Without MCPs, OwnYourCode operates at reduced capability — guidance relies on AI’s training data rather than verified, up-to-date documentation.
Philosophy
“Won’t this slow me down?”
Yes. That’s the point.
Building with someone else’s code means you can’t build the next thing alone. Building yourself takes longer — but now you can build anything.
The Dashboard
Your project’s plan isn’t scattered across a dozen Markdown files — it’s a single
dashboard you open in your browser. Mission, stack, and roadmap up top; every
phase opens Spec / Design / Tasks tabs (acceptance criteria, a real
architecture diagram, a kanban board with a live progress ring). The /own:*
commands keep it in sync as you work.
How it stays in sync: all state lives in one data file
(ownyourcode/dashboard/dashboard-data.js); dashboard.html is a stable view that renders
it. No server — you double-click the file. Want a different look? /own:theme
re-skins it from a design brief.
MIT License
相似文章
@FakeMaidenMaker: 用 AI agent 写代码最怕的就是失控:agent 自顾自跑、质量飘忽、你不知道它现在在哪个阶段、改到一半又乱了。 AWS 刚开源了一套专门给 AI coding agent 用的开发生命周期工作流规则——AI-DLC,让 agent…
AWS 开源了 AI-DLC(AI-Driven Development Life Cycle),一套为 AI coding agent 设计的开发生命周期工作流规则,帮助开发者控制 agent 行为,确保质量。支持 Claude Code、Cursor、GitHub Copilot 等多种平台。
@GitHub_Daily: 用 AI 智能体生产级事情,写代码、跑流程、调接口,一开始还行,但规模一大就容易失控,权限太宽、上下文丢失、调试无从下手。 于是找到了 agents-best-practices 这套完整的智能体运行框架设计指南,不限于编码场景,运营、销…
介绍了 agents-best-practices 仓库,这是一份生产级 AI 智能体运行框架设计指南,涵盖工具权限分级、上下文压缩等,支持 Codex 和 Claude Code 安装。
@GitHub_Daily: 用 AI 辅助编程时,简单问个问题要逐个文件去翻找读取,既费 token 又容易找错上下文。 codebase-memory-mcp 把整个代码库解析成一张知识图谱,让 AI 直接「看懂」项目结构。 用纯 C 写的单个可执行文件,零依赖,…
codebase-memory-mcp 是一个用纯 C 编写的工具,可将整个代码库解析为知识图谱,支持 158 种编程语言,兼容 11 款 AI 编程代理工具,能大幅提升 AI 对项目结构的理解并降低 token 消耗。
@laobaishare: GitHub 亲自下场, 从此没有 AI 会再瞎写代码。 --- 刚发布的 Spec Kit,几天就冲到 95K star。 核心就一句话: 让 AI 在动代码之前,先把要做什么写清楚。 不再是甩一个模糊 prompt 然后烧香拜佛,祈祷…
GitHub发布了Spec Kit工具,强制AI在编写代码前先生成结构化规范,包括理解需求、追问遗漏、组织项目等步骤,显著减少AI生成的错误代码,兼容25+个AI agent。
@GitHub_Daily: AI 大神 Karpathy 之前做了个 autoresearch 脚本,能让模型一晚上自动跑上百轮实验调优。 Autoresearch 这个开源项目把同样的思路搬到了 Claude Code 和 Codex 上。 给一个目标和量化指标,…
Autoresearch 这个开源项目把 Karpathy 的 autoresearch 思路移植到 Claude Code、OpenCode 和 Codex 上,让 AI Agent 根据目标和量化指标自动循环改代码、跑验证并回滚,提供 14 个子命令和 9 个安全钩子。