惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Attack and Defense Labs
Attack and Defense Labs
WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Spread Privacy
Spread Privacy
AI
AI
宝玉的分享
宝玉的分享
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
Help Net Security
Help Net Security
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
Forbes - Security
Forbes - Security
P
Privacy & Cybersecurity Law Blog
Project Zero
Project Zero
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
T
Troy Hunt's Blog
美团技术团队
T
Threatpost
K
Kaspersky official blog
V
V2EX
Scott Helme
Scott Helme
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
V
Vulnerabilities – Threatpost
Last Week in AI
Last Week in AI
PCI Perspectives
PCI Perspectives
Google Online Security Blog
Google Online Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
I
InfoQ
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
L
LINUX DO - 最新话题
T
The Exploit Database - CXSecurity.com
L
LangChain Blog
S
Security @ Cisco Blogs
The Last Watchdog
The Last Watchdog
H
Hacker News: Front Page
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
TaoSecurity Blog
TaoSecurity Blog

Bboysoul's Blog

聊聊 -XX:MaxRAMPercentage=75% 20260715的胡言乱语 Random Thoughts - 20260715 20260714的胡言乱语 Random Thoughts - 20260714 Random Thoughts - 20260708 20260708的胡言乱语 Random Thoughts - 20260702 20260702的胡言乱语 20260622的胡言乱语 Random Thoughts - 20260622 20260616的胡言乱语 Random Thoughts - 20260616 20260605的胡言乱语 Random Thoughts - 20260605 About My Car 关于我的车 Bought a Quote/0 买了Quote/0 20260520的胡言乱语 20260519的胡言乱语 20260509的胡言乱语 20260403的胡言乱语 20260327的胡言乱语 20260317的胡言乱语 使用GitHub-Copilot进行Vibe-Coding 20260316的胡言乱语 20260313的胡言乱语 I Bought an iPhone 17 买了一个iPhone17 20260205的胡言乱语 Random Thoughts - 20260205 20260129的胡言乱语 Random Thoughts - 20260129 20260120的胡言乱语 Random Thoughts - 20260120 How I Learn 我是怎么学习的 20260114的胡言乱语 Random Thoughts - 20260114 20260109的胡言乱语 20260528的胡言乱语 Random Thoughts - 20260528
Vibe Coding with GitHub Copilot
2026-03-16 · via Bboysoul's Blog

Introduction

I’ve been using GitHub Copilot on and off to build a few small projects lately, and I’ve picked up quite a few lessons along the way. This post is a summary of that experience, written for anyone who’s exploring AI-assisted programming.

How It Started

As some of you know, I have a few annual goals I want to track — the problem was figuring out how to do it. So I decided to vibe code something myself, which became push.bboy.app. Another project of mine, cal.bboy.app, was also built entirely with Copilot.

Environment Isolation Matters

The first lesson I learned: write code inside a clean virtual machine or container. This keeps your local environment untouched and prevents project dependencies from polluting your host machine. Managing your own deployment also gives you better control over production security and makes rollbacks much easier when things go wrong.

My Development and Release Workflow

Define requirements → Write code → Create a version tag → CI pipeline builds a Docker image for that tag → Manually trigger the deploy pipeline

This workflow gives me clear control over every release. The manual deploy trigger is especially valuable — it lets you decide exactly when a new version goes live, giving you enough time to test before it reaches users.

For working on the go, I SSH into my server with Termius and use tmux to keep sessions alive, so a dropped connection never loses my work.

Think Like a Product Manager

This is the most important mindset shift: adding features is easy, cutting them is hard.

AI will happily pile on functionality if you let it. You have to keep asking yourself: is this feature actually necessary right now? Good enough is good enough — the real focus should be on refining details and ensuring code security. A stable, secure, and smooth product beats a feature-bloated one every time.

The Right Way to Work

Write the product document before writing any code. Think through the requirements first and get them down in writing. You can even have AI generate a first draft of the doc and revise it yourself. Then let AI produce a rough implementation and chisel it into shape from there.

Tackle one task at a time. Smaller scope means better quality control and easier debugging.

Testing is non-negotiable. Every new feature can introduce new bugs. Never assume existing functionality still works — run a full test pass every time.

On that note, I’ve come to believe that in the AI era, testing may now be more important than development itself. In the past, code quality was judged by how elegantly it was written. But when AI can generate the code, what truly measures a project’s health is the quality of its test suite. Solid test coverage gives you a safety net so you can confidently let AI modify, extend, and refactor, without worrying about something quietly breaking in the background.

Tips for Saving Tokens

If you use Copilot long enough, you’ll notice tokens disappear fast. Here are the habits that have helped me:

  1. Pick the right model: use lightweight models for simple tasks, reserve the powerful ones for complex work — no need to use the most expensive option every time
  2. Compress context: run /compact manually — I do it after completing each task
  3. Clear when done: use /clear to clean up context you no longer need
  4. Reference files with @: use @src/app.js to pull in specific code snippets instead of stuffing the whole project into context
  5. Pre-define your conventions: create .github/copilot-instructions.md in your project with coding standards, common commands, and project structure — this gives every conversation a stable foundation
  6. Plan before you act: ask AI to lay out an execution plan first, confirm the direction is right, then move on to implementation

Do You Still Need to Know How to Code?

A lot of people ask this. My answer: yes, but differently.

You don’t need to memorize syntax — but you do need to act as the architect:

  • Choose a tech stack and framework you’re familiar with
  • Design the system architecture and module boundaries
  • Define interfaces and data structures
  • Review AI-generated code for correctness, security, and sanity

Hand the implementation details off to AI. Keep the thinking for yourself.

A Hard Lesson About Backups

Vibe coding is addictive — constantly iterating feels like leveling up in a game. That’s exactly when code backups become critical.

I once ran git filter-repo without properly scoping it, which wiped out everything in the repository except one specific set of files. I then force-pushed that to GitHub. The damage was nearly unrecoverable — I had to restore from a backup.

The lesson: always back up before any destructive git operation. Always. Always. Always.

Closing Thoughts

Vibe coding with GitHub Copilot genuinely improves productivity — but the tool is just the tool. Product thinking, security awareness, and clear requirements are what make a project succeed.

Stay focused on core functionality. Cut more than you add. Polish the details. Take security seriously. That’s the deepest lesson this whole experience has taught me.

Follow my blog at www.bboy.app

Have Fun


Tags: