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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>网页标题</title> | |
| </head> | |
| <body> | |
| 网页内容 | |
| </body> | |
| </html> |
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
| const delay = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); | |
| const main = async () => { | |
| console.log("Hello"); | |
| for (let i = 0; i < 3; i++) { | |
| await delay(500); | |
| console.log("."); | |
| } | |
| console.log("World!"); | |
| } |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="https://unpkg.com/typescript@latest/lib/typescriptServices.js"></script> | |
| <script src="https://unpkg.com/apprun"></script> | |
| <script src="my-tsc.js" defer></script> | |
| </head> | |
| <body> |
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
| ## File Comment Blocks | |
| - Add/update comment blocks at the top of each source file summarizing features, implementation, and changes. | |
| - Create before editing, if missing update after changes. | |
| ## Command Keywords | |
| Use the following keywords: | |
| - **REQ**: Create or update requirements to `.docs/reqs/{yyyy-mm-dd}/req-{name}.md` → focus on `what`, not `how`, not optimization. | |
| - **AP**: Architecture Plan → Create an implementation plan using markdown check boxes → save to `.docs/plans/{yyyy-mm-dd}/plan-{name}.md`. | |
| - **AR**: Architecture Review → think harder ensure no flaw → provide options and suggestions → update the requirement and plan docs only, do not create review doc. |