Skip to content

A Year as Frontend Tech Lead: Technical Management in an 8-Person Team

As the frontend platform lead and technical leader for an 8-person team, 2024 was the year with the highest density of technical decisions. Rather than discussing specific technical details, let's talk about thinking and practice at the technical management level.

Tech Selection: When to Adopt New Technology

This year's choices: Should we adopt React 19? Wait on Vue 3.5? Replace ESLint with Biome? Try Svelte 5?

我们的决策框架:

                    项目重要性
                    高          低
技术成熟度  高    立即采用     下个迭代考虑
            低    小范围试用   先观望

具体案例

Biome → 立即采用。成熟度高(1.0+),替换成本可控,收益明确(构建速度提升 20 倍)。团队花了一周完成迁移。

React 19 → 小范围试用。Beta/RC 阶段在内部工具项目上试用,主产品等到稳定版。useActionState 确实好用,但 API 还在变化。

Svelte 5 → 观望。虽然 Runes 概念优秀,但我们团队没有 Svelte 项目。只在技术分享中介绍,不投入项目。

AI 辅助开发 → 立即采用。GitHub Copilot + 自建 Code Review Bot,投入产出比极高。

Team Management: Balancing Tech Debt and New Features

每周 sprint 的时间分配:

新功能开发:40%
技术债偿还:20%
Bug 修复:20%
技术探索:10%
Code Review + 分享:10%

技术债管理

建立技术债看板,每个技术债条目需要:

  1. 影响描述:不修复会怎样
  2. 工作量评估:粗略估时
  3. 优先级标签:P0(阻塞发布)/ P1(影响性能)/ P2(影响体验)

P0 纳入当前迭代,P1 每迭代处理 1-2 个,P2 集中处理。

20% 时间制度

每周五下午是技术探索时间。今年从探索中落地的项目:

  • AI Code Review Bot → 生产环境使用
  • Biome 迁移 → 全团队推广
  • RAG 内部知识库 → 上线

Exploration doesn't have to ship, but what does ship needs outcome tracking.

Team Rollout of AI Tools

Copilot 推广路径

  1. 前两周:自愿试用,收集反馈
  2. 第三周:分享最佳实践(什么时候用、什么时候不用)
  3. 第四周:全员标配,纳入开发环境

使用规范

✅ 适合用 AI 的场景:
- 样板代码生成
- 单元测试编写
- 类型定义推导
- 重复性重构

❌ 不适合用 AI 的场景:
- 核心业务逻辑
- 安全相关代码
- 性能关键路径
- 架构设计决策

Architecture Evolution Pace

不要一次性做太多改变。我们的策略是每个季度最多引入 1 个大的技术变更:

Q1:Biome 替换 ESLint + Prettier
Q2:RAG 知识库上线
Q3:React 19 新特性试点
Q4:Next.js 15 迁移规划

Too many simultaneous changes will exhaust the team and increase the risk of bugs.

Managing Up: Communicating Technical Value

When reporting to the CTO/VP, technical decisions must be translated into business language:

❌ "我们用了 Biome 替换 ESLint,Rust 写的,速度快 20 倍"
✅ "构建速度提升 20 倍,CI 时间从 8 分钟降到 30 秒,
   每天为团队节省约 1 小时等待时间"
❌ "我们做了 RAG 应用,用了向量数据库和 embedding"
✅ "内部知识库的文档查找效率提升 3 倍,
   新人上手时间从 2 周缩短到 1 周"

Summary

  • 技术选型用成熟度 × 项目重要性矩阵决策
  • 每季度最多引入 1 个大的技术变更
  • 技术债用看板管理,P0/P1/P2 分级处理
  • AI 工具推广需要渐进式 + 使用规范
  • 技术价值要翻译成业务语言向上汇报
  • 20% 探索时间需要平衡自由度和产出追踪

MIT Licensed