К основному содержанию
скилл CX Codex

defend-my-project — скилл для Claude Code: разбор и установка

Скилл defend-my-project для Claude Code готовит к вопросам на собеседовании по собственному проекту. Агент изучает репозиторий, проводит разбор вопросов по коду и собирает шпаргалку с ответами.

MIT ★ 345 обновлён 2026-11-14

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add nishant-Tiwari24/cracked
/plugin install cracked@cracked
Открыть на GitHub

Что делает defend-my-project

Скилл изучает код проекта и тренирует ответы на вопросы о его устройстве, технических решениях и слабых местах. Можно указать текущую папку или GitHub-репозиторий. Для удалённого проекта скилл клонирует репозиторий через git с полной историей, а затем проверяет код, тесты, конфигурацию и коммиты.

Сначала агент уточняет, какие части проекта написал кандидат, затем задаёт вопросы по одному и коротко оценивает ответы. Вопросы привязаны к конкретным файлам и строкам; итоговые материалы включают питч, схему архитектуры, ответы и список исправлений. Скилл также сохраняет список вопросов и оценочную карту через cracked-profile.

Тесты запускаются только после предупреждения; если запуск небезопасен, агент читает код вместо этого. Незнакомые зависимости и установочные скрипты без разрешения не запускаются. Репозиторий скилл не редактирует. Для работы нужен инструмент cracked-profile; если его нет, инструкция предлагает открыть SKILL.md этого скилла в папке cracked и следовать ей.

Какие задачи решает

  • подготовиться объяснить архитектуру своего проекта
  • найти слабые места, о которых спросят на собеседовании
  • потренироваться отвечать на вопросы по конкретным файлам кода
  • составить шпаргалку с ответами и планом исправлений

Примеры запросов агенту

  • Подготовь меня к вопросам по проекту в текущей папке.
  • Разбери мой GitHub-репозиторий и проведи собеседование по его коду.
  • Потренируй со мной ответ на вопрос «Расскажи о своём проекте».

Как установить defend-my-project

1Через маркетплейс плагинов

/plugin marketplace add nishant-Tiwari24/cracked
/plugin install cracked@cracked

Команда ставит плагин cracked целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add nishant-Tiwari24/cracked --skill defend-my-project -a claude-code

3Вручную: положить файлы

~/.claude/skills/defend-my-project/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/defend-my-project/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о defend-my-project

Как установить defend-my-project в Claude Code?

Добавьте маркетплейс командой /plugin marketplace add nishant-Tiwari24/cracked, затем установите скилл командой /plugin install cracked@cracked.

Что делает defend-my-project?

Изучает проект и задаёт вопросы о решениях, архитектуре и проблемах, привязывая их к коду. Затем готовит ответы, схему проекта и список возможных исправлений.

Что нужно для работы defend-my-project?

Нужен доступ к проекту — локальной папке или GitHub-репозиторию — и инструмент cracked-profile. Если инструмента нет, можно открыть SKILL.md скилла в папке cracked и следовать инструкции.

Исходный текст

SKILL.md · MIT
---
name: defend-my-project
description: Interviewers always grill candidates on their resume projects ("why MongoDB?", "what happens at 10k users?", "what was the hardest bug?"). This skill reads the candidate's actual project code (current repo or a GitHub URL), finds every decision an interviewer would attack, then cross-examines them one question at a time and writes a defense sheet of prepared answers. Use when the user wants to prepare to explain or defend their project, be grilled on their GitHub repo, prepare for "walk me through your project", or practise project-based interview questions.
---

# Defend my project

"Walk me through your project" is in nearly every interview, and it's where many candidates fall apart: they built it, but can't explain *why* it's built that way. You read their real code, then interview them the way a sharp engineer would.

## 0. Setup

1. Call the Skill tool with "cracked-profile".
2. Find the project:
   - If the user gave a GitHub URL, clone it into a temp directory with full history (old commits matter for leaked secrets): `git clone <url> "$(mktemp -d)/repo"`. If it's very large, `git clone --filter=blob:limit=1m` and say so.
   - Otherwise, use the current working directory. If it's not a project (no source files), ask which repo.
3. Ask one question: "Did you build this alone or in a team? Which parts were yours?" Only grill them on code they own.

## 1. Recon (silent; don't interview yet)

**Verify before you accuse.** Every claim you'll quote back must have evidence:

- **Tests and build:** find the project's test and build commands (`package.json` scripts, `Makefile`, `pytest.ini`, `go test ./...`). Tell the candidate you're about to run them, and run them read-only. Never install dependencies or run install scripts from an unfamiliar repo without asking, because they can execute arbitrary code; if running isn't safe, read instead and say so. Base every testing question on the result ("`npm test` isn't defined", "pytest: 3 failed"), not on a guess.
- **Secrets:** scan tracked files (`git grep -nIE '(api[_-]?key|secret|password|token)\s*[:=]|AKIA[0-9A-Z]{16}|sk-[A-Za-z0-9]{20,}|-----BEGIN [A-Z ]*PRIVATE KEY'`) and history (`git log -p -S'SECRET' --all | head -200`, repeated for `KEY`, `TOKEN`, `PASSWORD`). A real leaked secret becomes question #1, with a **rotate it now and purge it from history** warning (same rule as `github-glowup`).
- **Size:** above ~200 tracked files, don't read everything. Sample entry points, routes and handlers, models and schemas, config, and the most-changed files (`git log --format= --name-only | sort | uniq -c | sort -rn | head -20`), and tell the candidate you sampled.

Then read the project like an interviewer prepping for the round. Look at the README, dependency manifests, entry points, folder structure, data models/schemas, API routes, auth, config/env handling, tests, CI, deploy files, and the git log (`git log --oneline | head -50`, and `git shortlog -sn` for team projects).

Build an **attack list** of 12–20 questions across these categories, each grounded in a specific file or line:

| Category | Example |
|---|---|
| Pitch | "Explain this project in 30 seconds to a non-engineer." |
| Tech choices | "You used MongoDB, but your data in `models/order.js` is relational with joins via `populate`. Why not Postgres?" |
| Architecture | "Walk me through what happens from clicking 'Pay' to the DB write." |
| Data and schema | "What indexes does the `users` collection have? What query is slowest?" |
| Security | "Your JWT secret is read in `config.js`. Where is it stored? What happens if a token is stolen?" |
| Scale | "This endpoint loads all posts with no pagination (`routes/posts.js:22`). What happens at 100k posts?" |
| Failure modes | "What if the payment webhook arrives twice?" |
| Testing | "How do you know this works? I see no tests for `cart.ts`." |
| Hardest part | "What was the hardest bug? How did you find it?" |
| Ownership | "If you rebuilt this today, what would you change?" |
| Gotchas found in code | Real weaknesses you spotted: an N+1 query, hardcoded secrets, a race condition, missing validation |

Order them from easy to hard. Mark the 3–5 most dangerous: questions that expose real flaws in the code.

Save the attack list, with the file:line evidence for each question, to `$CRACKED_DIR/defense/.hidden/<repo-name>-attack-list.md`. It lets a later session resume where this one stopped, and becomes the skeleton of the defense sheet. Tell the candidate it's there and not to open it until the session is over.

## 2. Cross-examination

Tell the candidate: "I've read your code. I'm going to interview you about it like a senior engineer would. Answer as if you're in the room."

- **Open with a code-grounded walkthrough, never a generic pitch.** For example: "Walk me through what happens, file by file, when a client calls `POST /orders`", naming the real route and file. Save the 30-second pitch for later in the session.
- Ask **one question at a time**. Quote the file and line when it adds pressure ("In `server/auth.js:41` you…").
- Follow up at least once on every vague answer: "Why?", "How do you know?", "What would you measure?"
- When they say something that contradicts the code, gently show them the code: interviewers catch this, and it's the worst look.
- Short feedback after each answer (one or two lines): solid ✔, shaky 🟡 (and why), or wrong ✘. Save the full teaching for the defense sheet.
- 8–12 questions is a full session. Always include the dangerous ones.

## 3. Defense sheet

Write `$CRACKED_DIR/defense/<repo-name>.md` containing:

1. **30-second pitch** and **2-minute walkthrough**, written from the code and their answers, in their voice.
2. **Architecture sketch**: an ASCII diagram of the real request flow.
3. **Q&A**: every question asked, plus the remaining attack-list questions, each with a **strong answer grounded in the actual code**. Where the honest answer is "that's a weakness", write the answer that owns it well: "I know this endpoint doesn't paginate; at scale I'd add cursor-based pagination, because…"
4. **Fix before the interview**: the 3–5 real code issues worth fixing now, each with file:line and a one-line fix. Offer to fix them, or point to `/make-it-hireable`.

## 4. Scorecard

Call the Skill tool with "cracked-profile" and log a scorecard titled with the repo name. Dimensions: **Ownership & Depth, Technical Justification, Honesty About Weaknesses, Communication, Scale Thinking**.

## Rules

- Every question must be grounded in the real code. Generic project questions are what this skill exists to replace.
- Never edit their repo in this skill.

---

*Skill calls:* if your agent has no Skill tool, open the named skill's `SKILL.md` in the cracked skills folder (`core/`, `interview/`, `profile/`, `strategy/`) and follow it instead.

© Nishant Tiwari · MIT · nishant-Tiwari24/cracked

Похожие скиллы

Все скиллы по теме «Тесты и QA» →
audit-project Community Команда audit-project запускает проверку проекта несколькими специализированными агентами и может применять исправления с повторной проверкой. Используйте её для поиска проблем в коде и тестах. CX Codex +1 ★ 2 003звёзд репо create-spring-boot-java-project официальный github Скилл create-spring-boot-java-project разворачивает каркас приложения Spring Boot через start.spring.io с готовой конфигурацией базы данных, тестов и Docker. Запускается при запросе на генерацию нового сервиса на Java. CX Codex +1 9 516установок audit-project-github Community Команда audit-project-github для Claude Code превращает отложенные находки /audit-project в GitHub-issues через gh, оставляя security-находки внутри. Нужны git и авторизованный gh. CX Codex +1 ★ 2 003звёзд репо spring-boot-project-creator giuseppe-trisciuoglio Скилл spring-boot-project-creator для Claude Code автоматизирует создание проектов Spring Boot 3.x/4.x через Spring Initializr с выбором архитектуры DDD или слоистой, настройкой JPA, OpenAPI и сервисов Docker Compose. CX Codex +1 3 700установок project-references dboeckli Скилл project-references для Claude Code ищет конвенции и реализации в локальном зеркале GitHub-репозиториев. Показывает примеры Helm-чартов, Kubernetes-конфигов, Docker Compose и CI/CD. CX Codex +1 6 300установок infisical-dynamic-secrets Infisical Скилл infisical-dynamic-secrets для Claude Code настраивает выпуск временных доступов в Infisical для 30 провайдеров: разовые учётные данные баз данных и облака для CI и отладки. CX Codex +1 852установок

Из того же набора20

Весь набор →
referral-dm Скилл referral-dm для Claude Code пишет персональные сообщения, чтобы запросить рекомендацию или связаться с рекрутером. Помогает ответить на пост о вакансии, обратиться к выпускнику или напомнить о заявке. CX Codex +1 ★ 345звёзд репо github-glowup Скилл github-glowup для Claude Code проверяет GitHub-профиль глазами рекрутера и предлагает правки. Запускается по просьбе улучшить профиль, выбрать закреплённые репозитории или подготовить README. CX Codex +1 ★ 345звёзд репо company-intel Скилл company-intel для Claude Code и Codex собирает досье на компанию для собеседования. Запускается при упоминании работодателя перед тестами и скринингами. CX Codex +1 ★ 345звёзд репо roast-my-resume Скилл roast-my-resume для Claude Code, который проверяет резюме для технических вакансий и предлагает правки. Разбирает ATS-читаемость, просмотр рекрутером и слабые пункты с учётом опыта и целевой компании. CX Codex +1 ★ 345звёзд репо oa-sim Скилл oa-sim для Claude Code, который создаёт пробный онлайн-тест по программированию и проверяет решения на скрытых тестах. Запускается по запросу на тренировочный OA или симуляцию отбора в компанию. CX Codex +1 ★ 345звёзд репо cracked-profile Скилл cracked-profile для Claude Code хранит профиль кандидата и историю подготовки к трудоустройству. Запускается для настройки профиля, просмотра прогресса или перед работой других скиллов cracked. CX Codex +1 ★ 345звёзд репо mock-interview Скилл mock-interview для Claude Code проводит пробное интервью по алгоритмам и структурам данных. Агент задаёт задачу, оценивает ход решения и проверяет код. CX Codex +1 ★ 345звёзд репо cracked Плагин cracked для Claude Code тренирует технические интервью и помогает готовиться к трудоустройству. Он проводит пробные раунды, оценивает резюме и собирает план подготовки под целевые компании. ★ 345звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой