Agent skill

Fundamentals Gate

by DanielPodolsky in DanielPodolsky/ownyourcode

Verifies code quality including naming conventions, function size, and DRY principles.

MITAuto-check passedDevelopment

Install Fundamentals Gate

skills CLI
$ npx skills add DanielPodolsky/ownyourcode --skill fundamentals-gate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DanielPodolsky/ownyourcode fundamentals-gate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DanielPodolsky/ownyourcode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gates/fundamentals .claude/skills/fundamentals-gate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fundamentals-gate
GitHub stars
290
Used in
1 other repo
Token cost
~1.4k tokens
SKILL.md length
409 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Verifies code quality including naming conventions, function size, and DRY principles.

  • Works in 5 steps: Unclear Naming → Magic Numbers → Deep Nesting → …
  • Tasks that involve Code quality
  • SKILL.md covers Purpose, Gate Status, Gate Questions and Fundamentals Checklist, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Fundamentals Gate is an agent skill from DanielPodolsky/ownyourcode. Verifies code quality including naming conventions, function size, and DRY principles. SUGGESTION gate that offers polish items during /own:done flow.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code quality. The repository describes itself as: Claude Code workflow for AI-mentored development. Work efficiently with Spec-Driven Development and the 6 Gates. Built to fight cognitive offloading — for developers using AI to… The licence is MIT.

When your agent uses it

  • Tasks that involve Code quality

Example prompts

  • “Use the fundamentals-gate skill to verify code quality including naming conventions, function size, and DRY principles”
  • “/fundamentals-gate”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Unclear Naming
  2. Magic Numbers
  3. Deep Nesting
  4. God Functions
  5. Meaningless Comments

What it can do on your machine

Read from SKILL.md and the folder at commit bd1f17c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fundamentals Gate loads about 1.4k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 409 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DanielPodolsky/ownyourcode at commit bd1f17c, republished under its MIT licence (© DanielPodolsky). 409 words, ~1,440 tokens.

Download SKILL.mdSave it as .claude/skills/fundamentals-gate/SKILL.md (or your agent's skills folder).
name
fundamentals-gate
description
Verifies code quality including naming conventions, function size, and DRY principles. SUGGESTION gate that offers polish items during /own:done flow.

Gate 5: Fundamentals Review

"Good code is not just code that works. It's code that others can work with."

Purpose

This gate checks general code quality against engineering standards. Issues are SUGGESTIONS, not blockers — they're polish, not problems.

Gate Status

  • PASS — Code quality is solid
  • SUGGESTIONS — Minor improvements recommended

Gate Questions

Question 1: Naming Clarity

"Would a new developer understand what [variable/function] does from its name alone?"

Looking for:

  • Descriptive, intention-revealing names
  • No abbreviations or single letters
  • Boolean prefixes (is, has, can)
  • Function verbs (get, set, handle)
Question 2: Function Focus

"Can you describe what this function does in one sentence without using 'and'?"

Looking for:

  • Single responsibility
  • Reasonable size (under 30 lines)
  • Clear input/output relationship
  • No hidden side effects
Question 3: Code Reuse

"I see this pattern in a few places. Is it intentional duplication or should it be extracted?"

Looking for:

  • Awareness of duplication
  • Appropriate abstraction (rule of three)
  • Not over-engineering for one-time use

Fundamentals Checklist

Naming
  • Variables are descriptive (no temp, data, x)
  • Booleans prefixed with is, has, can, should
  • Functions start with verbs
  • No unnecessary abbreviations
  • Consistent naming patterns
Functions
  • Single responsibility
  • Under 30 lines (generally)
  • Fewer than 4 parameters
  • Early returns instead of deep nesting
  • No magic numbers (use named constants)
Structure
  • Related code grouped together
  • Appropriate file organization
  • Clear separation of concerns
  • Consistent formatting
Comments
  • Explain WHY, not WHAT
  • No commented-out code (delete it)
  • No obvious comments (// increment counter)
  • Complex logic documented

Response Templates

If PASS
✅ FUNDAMENTALS GATE: PASSED

Code quality is solid:
- Naming is clear and consistent
- Functions are focused
- Good structure overall

All gates passed! Let's move to code review...
If SUGGESTIONS
💡 FUNDAMENTALS GATE: SUGGESTIONS

A few polish items for consideration:

**Suggestion 1: [Naming]**
`const d = new Date()` → `const createdAt = new Date()`
Why: Descriptive names help future readers

**Suggestion 2: [Function size]**
`processOrder()` is 80 lines. Consider splitting into:
- `validateOrder()`
- `calculateTotal()`
- `saveOrder()`

**Suggestion 3: [Magic number]**
`if (status === 2)` → `if (status === STATUS.ACTIVE)`
Why: Named constants are self-documenting

These are suggestions, not blockers. The code works — this is about polish.
Proceed to code review? Or address these first?

Show full SKILL.md (165 more words)Show less

Common Issues to Check

1. Unclear Naming
❌ const d = new Date();
   const temp = getUser();
   const flag = true;

✅ const createdAt = new Date();
   const currentUser = getUser();
   const isAuthenticated = true;
2. Magic Numbers
❌ if (status === 2) { ... }
   setTimeout(fn, 86400000);

✅ const STATUS = { ACTIVE: 2, INACTIVE: 1 };
   if (status === STATUS.ACTIVE) { ... }

   const ONE_DAY_MS = 24 * 60 * 60 * 1000;
   setTimeout(fn, ONE_DAY_MS);
3. Deep Nesting
❌ function check(user) {
     if (user) {
       if (user.active) {
         if (user.role === 'admin') {
           return true;
         }
       }
     }
     return false;
   }

✅ function check(user) {
     if (!user) return false;
     if (!user.active) return false;
     if (user.role !== 'admin') return false;
     return true;
   }
4. God Functions
❌ function processOrder(order) {
     // 100+ lines of validation, calculation, saving, emailing...
   }

✅ function processOrder(order) {
     validateOrder(order);
     const total = calculateTotal(order);
     await saveOrder(order, total);
     await sendConfirmation(order);
   }
5. Meaningless Comments
❌ // Increment counter
   counter++;

   // Get user
   const user = getUser();

✅ // Rate limit: max 100 requests per minute per user
   if (requestCount >= 100) {
     throw new RateLimitError();
   }

Socratic Fundamentals Questions

Instead of pointing out fixes, ask:

  1. "What does d stand for? Would a new developer know?"
  2. "What does the number 2 mean in this context?"
  3. "Can you describe this function without saying 'and'?"
  4. "I see this pattern three times — is that intentional?"
  5. "Would you understand this comment in 6 months?"

Standards Reference

See detailed patterns in:

  • /standards/global/naming-conventions.md
  • /standards/global/error-handling.md
  • /standards/frontend/component-architecture.md

Naming Quick Reference

TypePatternExample
VariablecamelCase, descriptiveuserEmail, isLoading
Booleanis/has/can/should prefixisActive, hasPermission
Functionverb + noungetUser(), handleSubmit()
ConstantUPPER_SNAKE_CASEMAX_RETRIES, API_URL
ClassPascalCaseUserService, ApiClient

When to Skip Suggestions

Not every suggestion needs addressing:

  • Prototype code — Polish can wait
  • Time pressure — Ship working code, polish later
  • Minimal impact — If it's just style preference
  • Existing patterns — Match codebase conventions even if imperfect

Fundamentals are about growth, not perfection. Note suggestions for learning, but don't block shipping.

© DanielPodolsky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/gates/fundamentals of DanielPodolsky/ownyourcode.

Open the folder on GitHubat commit bd1f17c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in DanielPodolsky/ownyourcode, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Fundamentals Gate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fundamentals Gate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fundamentals Gate this skillDanielPodolsky/ownyourcode2901 repos~1.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Ponytail Lazy Developer ModeDietrichGebert/ponytail160k1 repos~873Automated safety check: PassMIT
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.4k—~2.2kAutomated safety check: PassMIT
Constraint-Driven Developmentaddyosmani/agent-skills104k2 repos~5.2kAutomated safety check: PassMIT

Similar skills

  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    160k GitHub starsUsed in 1 repo~873 tokens
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.4k GitHub stars~2.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Constraint-Driven Development

    addyosmani/agent-skills

    Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.

    104k GitHub starsUsed in 2 repos~5.2k tokens
    DevelopmentAuto-check passed
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed

More from DanielPodolsky/ownyourcode

All 19 skills in this repo
  • Accessibility Fundamentals

    DanielPodolsky/ownyourcode

    Reviews accessibility including WCAG, ARIA, keyboard navigation.

    290 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Backend Fundamentals

    DanielPodolsky/ownyourcode

    Reviews API design, REST conventions, and backend architecture.

    290 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Database Fundamentals

    DanielPodolsky/ownyourcode

    Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.

    290 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Documentation Fundamentals

    DanielPodolsky/ownyourcode

    Guides documentation standards including READMEs, JSDoc, and code comments.

    290 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Error Handling Fundamentals

    DanielPodolsky/ownyourcode

    Guides error handling for async operations and API calls. An agent skill from DanielPodolsky/ownyourcode.

    290 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Frontend Fundamentals

    DanielPodolsky/ownyourcode

    Reviews React/Vue component architecture, state, and hooks. An agent skill from DanielPodolsky/ownyourcode.

    290 GitHub starsUsed in 1 repo~874 tokens
    Auto-check passed

Categories

Questions about Fundamentals Gate

What does Fundamentals Gate do?

Verifies code quality including naming conventions, function size, and DRY principles. Fundamentals Gate is an agent skill from DanielPodolsky/ownyourcode. Verifies code quality including naming conventions, function size, and DRY principles.

When should I use Fundamentals Gate?

Fundamentals Gate fits situations like: tasks that involve Code quality.

How do I install Fundamentals Gate in Claude Code?

Run `npx skills add DanielPodolsky/ownyourcode --skill fundamentals-gate -a claude-code`. Or copy the skill folder (.claude/skills/gates/fundamentals in DanielPodolsky/ownyourcode) into .claude/skills/fundamentals-gate in your project. Claude Code loads it when a task matches its description.

How do I install Fundamentals Gate in Codex?

Run `npx skills add DanielPodolsky/ownyourcode --skill fundamentals-gate -a codex`. Or copy the skill folder (.claude/skills/gates/fundamentals in DanielPodolsky/ownyourcode) into .agents/skills/fundamentals-gate in your project. Codex loads it when a task matches its description.

Can I use Fundamentals Gate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DanielPodolsky/ownyourcode --skill fundamentals-gate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fundamentals-gate, .gemini/skills/fundamentals-gate, .github/skills/fundamentals-gate and .opencode/skills/fundamentals-gate in your project.

What does Fundamentals Gate need to run?

SKILL.md names no scripts, command-line tools or credentials: Fundamentals Gate is instructions for the agent only.

Does Fundamentals Gate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fundamentals Gate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fundamentals Gate use?

Fundamentals Gate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fundamentals Gate use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fundamentals Gate?

Skills that share tags, products or a category with Fundamentals Gate: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fundamentals Gate?

DanielPodolsky (a GitHub user) maintains it in DanielPodolsky/ownyourcode, which has 290 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 27, 2026.

Source: DanielPodolsky/ownyourcode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.