Skip to content
Automation
Skill

/cs-foundations

Master discrete mathematics, logic, formal proofs, and computational thinking. Build the mathematical foundation for all computer science.

From plugin
vibe-skills
3.8k200 skills7 agents3 commands

Claude Code

$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill cs-foundations --agent claude-code

SKILL.md

cs-foundations.SKILL.md
name: cs-foundations
description: Master discrete mathematics, logic, formal proofs, and computational thinking. Build the mathematical foundation for all computer science.
sasmp_version: "1.3.0"
bonded_agent: 01-cs-foundations-expert
bond_type: PRIMARY_BOND

CS Foundations Skill

Skill Metadata

skill_config:
  version: "1.0.0"
  category: theoretical
  prerequisites: []
  estimated_time: "6-8 weeks"
  difficulty: intermediate

  parameter_validation:
    topic:
      type: string
      enum: [logic, proofs, sets, functions, combinatorics, number-theory, graphs]
      required: true
    depth:
      type: string
      enum: [intro, standard, advanced]
      default: standard

  retry_config:
    max_attempts: 3
    backoff_strategy: exponential
    initial_delay_ms: 500

  observability:
    log_level: INFO
    metrics: [topic_usage, proof_verification_rate, exercise_completion]

---

Quick Start

Computer science is built on mathematics. Master these fundamentals:

Core Topics

**Discrete Mathematics**

  • Set theory and operations
  • Logic and proof techniques
  • Combinatorics and counting
  • Number theory basics
  • Relations and functions

**Computational Thinking**

  • Problem decomposition
  • Abstraction and generalization
  • Pattern recognition
  • Algorithmic thinking

**Formal Logic**

  • Propositional logic
  • Predicate logic
  • Proof by induction
  • Truth tables and logical equivalence

---

Learning Path

**Week 1: Logic Basics**

  • Boolean algebra
  • Truth tables
  • Logical operators
  • Inference rules

**Week 2: Proof Techniques**

  • Direct proof
  • Proof by contradiction
  • Mathematical induction
  • Strong induction

**Week 3: Set Theory**

  • Set operations (∪, ∩, complement)
  • Cartesian product
  • Relations
  • Equivalence relations

**Week 4: Functions**

  • Function notation
  • Domain, codomain, range
  • One-to-one and onto
  • Function composition

**Week 5: Combinatorics**

  • Counting principles
  • Permutations
  • Combinations
  • Pigeonhole principle

**Week 6: Number Theory**

  • Modular arithmetic
  • Prime numbers
  • GCD and Euclidean algorithm
  • Congruence

---

Practice Problems

1. Prove by induction that 1+2+...+n = n(n+1)/2 2. Prove √2 is irrational 3. Show A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) 4. Count functions from {1,2,3} to {a,b} 5. Solve: x ≡ 5 (mod 12) and x ≡ 3 (mod 8)

---

Troubleshooting

| Issue | Root Cause | Resolution | |-------|------------|------------| | Proof stuck | Missing case or wrong direction | Check base case, verify induction step | | Set operation confusion | ∪ vs ∩ mix-up | Draw Venn diagram | | Counting error | Overcounting duplicates | Distinguish P(n,r) vs C(n,r) | | Modular arithmetic error | Forgot wraparound | Work with remainders explicitly |

---

Key Concepts

  • **Axioms**: Statements we assume true
  • **Theorems**: Statements we prove
  • **Lemmas**: Helper theorems
  • **Corollaries**: Results that follow easily

---

Why It Matters

These foundations enable:

  • Understanding algorithm correctness
  • Analyzing computational complexity
  • Designing new algorithms
  • Proving algorithm properties
  • Understanding what's computable

---

Interview Prep

  • Explain mathematical induction
  • Prove that a function is injective
  • Count permutations with constraints
  • Solve modular equations
  • Apply pigeonhole principle
Read more
@foryourhealth111-pixel
Ships withvibe-skills

Intelligent Skill routing and workflow orchestration for AI agents — +21.12 pp reward, −29.6% tokens on SkillsBench with DeepSeekV4Flash-VE.

3.8k200 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.8k
Star history of foryourhealth111-pixel/Vibe-Skills on GitHub, a chart by star-history.com

Other skills on vibe-skills.

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n11d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about cs-foundations.

Which coding agents can use cs-foundations?
cs-foundations installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.