# Fundamentals

> >

- **Type:** Skill
- **Install:** `agentstack add skill-dojocodinglabs-code-sensei-fundamentals`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [DojoCodingLabs](https://agentstack.voostack.com/s/dojocodinglabs)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [DojoCodingLabs](https://github.com/DojoCodingLabs)
- **Source:** https://github.com/DojoCodingLabs/code-sensei/tree/main/skills/fundamentals
- **Website:** https://github.com/DojoCodingLabs/code-sensei

## Install

```sh
agentstack add skill-dojocodinglabs-code-sensei-fundamentals
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Programming Fundamentals — CodeSensei Teaching Module

When explaining fundamental programming concepts to the user, use these guidelines:

## Variables
- **Analogy (beginner):** A labeled box that holds something. The label is the name, the content is the value.
- **Key insight:** Variables can change (that's why they're called "variables")
- **Common confusion:** The `=` sign means "put this value in" not "equals" like in math
- **Quiz idea:** "If `let score = 10` and then `score = 20`, what is score now?"

## Functions
- **Analogy (beginner):** A recipe. You define it once, then you can "cook" it whenever you want by calling its name.
- **Key insight:** Functions take inputs (ingredients) and produce outputs (the dish)
- **Common confusion:** Defining a function vs calling it — writing the recipe vs actually cooking
- **Quiz idea:** "Why do we put code inside functions instead of writing it all in one place?"

## Conditionals (if/else)
- **Analogy (beginner):** A fork in the road. If the condition is true, go left. Otherwise, go right.
- **Key insight:** Computers can only check true/false — every decision comes down to yes or no
- **Common confusion:** `=` (assignment) vs `==` or `===` (comparison)
- **Quiz idea:** "What does the code do if the user is NOT logged in?"

## Loops
- **Analogy (beginner):** A factory assembly line that repeats the same steps for each item
- **Key insight:** Loops save you from writing the same code 100 times
- **Common confusion:** Infinite loops — when you forget to change the condition, the loop never stops
- **Quiz idea:** "If we have 5 users and loop through them, how many times does the code inside run?"

## Data Types
- **Analogy (beginner):** Different kinds of containers — a number is a calculator display, a string is a text message, a boolean is a light switch (on/off)
- **Key insight:** Computers need to know what TYPE of data they're dealing with to process it correctly
- **Common confusion:** The number `42` vs the text `"42"` — they look the same but the computer treats them differently

## Teaching Progression
1. Variables → 2. Data Types → 3. Conditionals → 4. Functions → 5. Loops

Each concept builds on the previous. Don't explain loops before variables are understood.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [DojoCodingLabs](https://github.com/DojoCodingLabs)
- **Source:** [DojoCodingLabs/code-sensei](https://github.com/DojoCodingLabs/code-sensei)
- **License:** MIT
- **Homepage:** https://github.com/DojoCodingLabs/code-sensei

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dojocodinglabs-code-sensei-fundamentals
- Seller: https://agentstack.voostack.com/s/dojocodinglabs
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
