- 產生時間:2026-07-05 13:53:43 CST
- 專案根目錄:
/home/chenting/projects/OW - 重跑次數:3
- Model:
gpt-5.4-mini - Effort:
medium - 執行指令:
codex exec --model gpt-5.4-mini -c model_reasoning_effort="medium" --sandbox danger-full-access ""
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "explorer.openEditors.visible": 0, | |
| "workbench.colorTheme": "Default Light+", | |
| "workbench.iconTheme": "vscode-simpler-icons", | |
| "workbench.sideBar.location": "right", | |
| // 需下載安裝 Fira Code 字型 (安裝 OTF 格式) | |
| // https://github.com/tonsky/FiraCode/releases | |
| // 需下載客製化過的 Microsoft YaHei Mono 字型 |
| description | Guidelines for generating SQL statements and stored procedures | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| tools |
|
- all tables should have a primary key constraint
- all foreign key constraints should have a name
- all foreign key constraints should be defined inline
These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.
- Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
- Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| Set-PSReadLineOption -PredictionSource History | |
| Set-PSReadLineOption -PredictionViewStyle ListView |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 移除兩個不實用的 Cmdlet Aliases | |
| If (Test-Path Alias:curl) {Remove-Item Alias:curl} | |
| If (Test-Path Alias:wget) {Remove-Item Alias:wget} | |
| # 快速開啟 c:\windows\system32\drivers\etc\hosts 檔案 | |
| function hosts { notepad c:\windows\system32\drivers\etc\hosts } | |
| # 快速產生一組亂數密碼 (預設會產生 10 個字元的密碼) | |
| function New-Password { | |
| <# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # winget parameter completion | |
| Register-ArgumentCompleter -Native -CommandName winget -ScriptBlock { | |
| param($wordToComplete, $commandAst, $cursorPosition) | |
| [Console]::InputEncoding = [Console]::OutputEncoding = $OutputEncoding = [System.Text.Utf8Encoding]::new() | |
| $Local:word = $wordToComplete.Replace('"', '""') | |
| $Local:ast = $commandAst.ToString().Replace('"', '""') | |
| winget complete --word="$Local:word" --commandline "$Local:ast" --position $cursorPosition | ForEach-Object { | |
| [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) | |
| } | |
| } |
NewerOlder
