Skip to content

針對現在流行的 Context Engineering 建立一個 Template 文件範例,幫助我們有系統的解決編程問題。

License

Notifications You must be signed in to change notification settings

chiisen/ContextEngineeringTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContextEngineeringTemplate

針對現在流行的 Context Engineering 建立一個 Template 文件範例,幫助我們有系統的解決編程問題。

Context Engineering Template

DEMO 目錄結構

DEMO/
├── README.md
├── todo.md
├── todo_example.py
└── tests/
└── test_todo.py

Todo List DEMO

本範例展示如何依據 Context Engineering Template 製作一個簡單的 Todo List 程式,並說明每個步驟與檔案的設計理念。

情境說明

假設你是一位新手工程師,想讓 AI 助手幫你自動產生一個「可新增、完成、列出待辦事項」的 CLI 程式。你希望程式碼結構清楚、易於擴充,並有基本的單元測試。

檔案說明

  • todo.md:功能需求說明(對應原始文件的 INITIAL.md)
  • todo_example.py:Todo List 主程式(對應 examples/ 內的 code pattern)
  • tests/test_todo.py:單元測試範例(對應 examples/ 內的測試 pattern)

註:本範例設計與說明方式,參考了原始 README.md 的「Writing Effective INITIAL.md Files」、「Using Examples Effectively」與「Best Practices」章節。

About

針對現在流行的 Context Engineering 建立一個 Template 文件範例,幫助我們有系統的解決編程問題。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages