This is a simple guide to help you learn how to use AI to write code. Think of it as a notebook for beginners who want to get AI to do programming tasks. The idea is to treat AI as a helper. You explain what you want, and it writes the code for you.
The guide is written in plain language. It uses examples and easy explanations. No coding experience is needed.
Inside, you will find a set of easy-to-follow documents that build up your understanding step by step:
| File | What it teaches |
|---|---|
| 1.AI编程入门.md | Explains how AI learns to write code |
| 2.提示工程实战.md | Shows how to communicate clearly with AI |
| 3.AI编程应用.md | Demonstrates how to use AI to do programming tasks |
| 4.AI与未来.md | Talks about the future of AI in programming |
This guide is designed to be easy to follow, like a story. Here is the suggested order:
Step 1: Understand how AI works
↓
Step 2: Learn to talk to AI the right way
↓
Step 3: Start letting AI write code for you
↓
Step 4: Explore what AI might become in the future
Start with the first file and move forward. Each file builds on the last.
- People who have never coded before
- Anyone who wants AI to help with programming
- Curious users interested in AI technology
You do not need any prior knowledge of coding to benefit from this.
To use this guide and work with AI coding, you will need:
- A Windows computer (Windows 10 or higher recommended)
- At least 4GB of RAM
- A stable internet connection for AI chat tools
- Basic skills to open and read text files
No special software is required beyond a tool to chat with AI.
- An AI chat tool like ChatGPT or Claude.
- A computer with a web browser.
- The files from this guide.
The guide will teach you how to use AI in a chat window. You don’t need to install anything complicated.
Click the big button at the top or use this link to visit the page where you can get the guide’s files:
Download the ai-coding-foundation files
This page is where you will find all the documents. Download the folder or individual files to your computer.
Once downloaded:
- Extract the folder if it is zipped.
- Open the folder.
- Start with the file named 1.AI编程入门.md by double-clicking it. It will open in your default text or markdown viewer.
You can read the files one by one on your computer. There is no installation needed.
Read the text step by step. Try the examples given inside each document. If you do not understand a part, copy the text or question and paste it into your AI chat tool. Ask for help or clarification.
For example, if the guide says:
"Tell AI to write a calculator program,"
You can open ChatGPT and type:
"Help me write a calculator program in Python."
The AI will then write the code for you to read and learn from.
Use your AI chat tool as a helper. Show it the text you don’t get and ask questions. This guide encourages you to learn by asking AI for help.
-
1.AI编程入门.md
Gives a simple explanation about AI and programming. It uses easy words and examples. -
2.提示工程实战.md
Shows how to speak clearly to AI. It teaches good ways to ask for code or help. -
3.AI编程应用.md
Shows how to use AI in real tasks. This includes writing small programs and fixing errors. -
4.AI与未来.md
Talks about how AI in programming might grow and change in the future.
Before using AI, writing code looked like this:
You → Think hard → Write code → Get tired
After starting to use AI, it becomes:
You: Help me write a calculator
AI: Here is the code you need
You: Check and use the code
You spend less time guessing and more time learning with AI’s help.
- Always follow the order of the files.
- Ask AI if something in the guide is unclear.
- Try the code yourself if the guide shows examples.
- Explore and be curious. Learning to work with AI is a skill you build step by step.
This guide is your starting point to use AI as your coding helper. Keep your computer ready, the files open, and your AI chat tool active. Then, follow the steps to learn how AI can help you write code.