Skip to content

hardwaylabs/learning-prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning prompts

A collection of prompts for structured learning with AI assistants.

Philosophy

Traditional tutorials teach you to build something from scratch, step by step. But real-world learning rarely works that way. Engineers join projects mid-stream, inherit complex systems, and need to understand existing code before they can contribute.

This repository contains prompts that flip the script: instead of asking an AI to explain concepts or generate solutions, these prompts ask the AI to design learning experiences - scaffolded projects with incremental tasks, hints instead of answers, and space for productive struggle.

The approach is inspired by:

  • Legitimate peripheral participation - learning by engaging with authentic, complete systems
  • Kelsey Hightower's "Kubernetes The Hard Way" - understanding through deliberate manual effort
  • Discovery-based learning - exploring existing structures exercises different mental muscles than following construction steps

When to use these prompts

  • You want to learn a new framework, language, or tool
  • No good tutorial exists yet (common with emerging technologies)
  • You learn better by doing than by reading
  • You want to build genuine understanding, not just surface familiarity

Repository structure

prompts/
├── commands/
│   ├── explore.md                     # Claude Code slash command for codebase exploration
│   ├── guided-project.md             # Learn a technology by building incrementally
│   └── socratic.md                    # Understand concepts through guided questioning
├── learning/
│   ├── guided-project-construction.md  # Build a project incrementally with tasks
│   ├── explore-existing-system.md      # Understand a codebase or system
│   └── socratic-dialogue.md            # Discover insights through guided questioning
├── research/
│   └── technology-exploration.md       # Evaluate a new technology systematically
└── templates/
    └── task-format.md                  # Standard format for learning tasks

Quick start

Claude Code users

Copy the commands to your global commands directory for use in any project:

mkdir -p ~/.claude/commands
cp commands/*.md ~/.claude/commands/

Then type /explore in any Claude Code session. See commands/README.md for details on installation and usage.

Any AI assistant

  1. Choose a prompt that matches your learning goal
  2. Copy it into your AI assistant conversation (Claude, ChatGPT, etc.)
  3. Fill in the bracketed placeholders with your specific context
  4. Optionally, append the task format from templates/task-format.md for more structured output
  5. Follow the generated task sequence, asking for hints when stuck
  6. Document what you learn as you go

For detailed instructions on combining prompts with the task format template, see templates/task-format.md.

Example: learning a new framework

Using guided-project-construction.md:

# Learning mode: guided project construction

I want to learn [Google Genkit] by building a [conversational agent with tool use] incrementally.
Do NOT build the complete solution for me.

## Your role
Act as a technical mentor designing a learning path...

The AI will create minimal scaffolding, one example function, and a sequence of tasks with hints - not complete solutions.

Contributing

These prompts improve through use. If you find a prompt that needs refinement:

  1. Note what went wrong or could be clearer
  2. Submit a PR with your improvement
  3. Include a brief explanation of the problem you encountered

Background

This project is part of Hard Way Labs, which develops hands-on technical training materials that expose the mechanics typically hidden by frameworks and abstractions.

Created by Pavel Anni, a technical training architect with 35+ years of experience teaching distributed systems, Kubernetes, and AI-assisted development.

License

MIT - use these prompts however you like, adapt them to your needs, share them with others.

About

Collection of prompts that help you learn new technologies with LLMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors