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

推荐订阅源

J
Java Code Geeks
小众软件
小众软件
博客园 - 叶小钗
宝玉的分享
宝玉的分享
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
U
Unit 42
F
Fortinet All Blogs
IT之家
IT之家
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell

Bboysoul's Blog

Blog Theme Update Mermaid Support Is Here 博客主题更新:现在支持 Mermaid 了 I Recreated My Own Version of TickTick with AI 我用 AI 复刻了一个自己的 TickTick Blog Theme Update Easier-to-Read Articles and Code Blocks 博客主题更新:更好读的文章页和代码块 Building a Personal Manga Library with Komga 用 Komga 搭一个自己的漫画库 Deploying LiteLLM on Kubernetes 在Kubernetes中部署LiteLLM 20260902的胡言乱语 Random Thoughts - 20260902 Introduction Finger 介绍下Finger How I Use Hermes 我是怎么用 Hermes 的 Whey Protein and Creatine 蛋白粉和肌酸 20260811的胡言乱语 Random Thoughts - 20260811 在 K8s 里搭建 WireGuard VPN 并访问集群网络 20260728的胡言乱语 Random Thoughts - 20260728 夏天来杯黄瓜柠檬水 Cloudflare 提交工单的迷宫——你得把所有下拉菜单点开才算完 聊聊 -XX:MaxRAMPercentage=75% 20260715的胡言乱语 Random Thoughts - 20260715 20260714的胡言乱语 Random Thoughts - 20260714
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: