Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 57 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,65 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
```
# Compiled and build artifacts
*.pyc
__pycache__/
*.o
*.obj
dist/
build/
target/

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# Dependencies
.venv/
venv/
node_modules/
.mypy_cache/
.pytest_cache/
.gradle/

# testing
/coverage
# Logs and temp files
*.log
*.tmp
*.swp

# next.js
/.next/
/out/
# Environment
.env
.env.local
*.env.*

# production
/build
# Editors
.vscode/
.idea/

# misc
# System files
.DS_Store
*.pem
Thumbs.db

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# Coverage
coverage/
htmlcov/
.coverage

# env files (can opt-in for committing if needed)
.env*
!.env.example

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
# Compressed files
*.zip
*.gz
*.tar
*.tgz
*.bz2
*.xz
*.7z
*.rar
*.zst
*.lz4
*.lzh
*.cab
*.arj
*.rpm
*.deb
*.Z
*.lz
*.lzo
*.tar.gz
*.tar.bz2
*.tar.xz
*.tar.zst
*.tar.zst
3 changes: 2 additions & 1 deletion lib/system-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ You are given **repository metadata**, a **root file tree** (depth 1), and the *
- **Plain language.** Sounds like a real request ("Build me…", "I want…"), not an architecture doc.
- **Outcome focused.** Describe what the app or library should *do* for a user using words a normal person would use.
- **Honest scope.** Only claim features or stacks you infer from the README and tree you received. If the README was missing, empty, or uninformative, say so implicitly by keeping claims vague or limited to what the metadata suggests.
- **Length:** about **120 to 200 words**, usually one short paragraph or a few tight sentences. Not a bullet list of file paths or dependencies.
- **Length:** about **300 to 500 words**, allowing for more detail and context. Can be one substantial paragraph or several well-structured paragraphs. Not a bullet list of file paths or dependencies.
- **Tone:** natural and conversational. Use contractions when they fit. No preamble ("Sure, here is…"), no meta ("As an AI…"), no filler.
- **Depth:** Include relevant context about the project's purpose, key features, and expected behavior. Feel free to elaborate on user flows, important components, or integration points when the repository context supports it.

## What to avoid

Expand Down