Compare commits

...

6 Commits

Author SHA1 Message Date
kuyua9
37f053c1d6
Merge 2dc364b2e3 into eb111b427c 2026-08-07 00:49:11 +02:00
Lucas Valbuena
eb111b427c
Update README.md 2026-08-07 00:48:55 +02:00
Lucas Valbuena
628ce7cb73
Update README.md 2026-08-07 00:46:37 +02:00
Lucas Valbuena
363b08cf55
Update README.md 2026-08-07 00:46:03 +02:00
Lucas Valbuena
d148472a51
Update README.md 2026-08-07 00:45:19 +02:00
kuyua9
2dc364b2e3 docs: align v0 read-only file guidance 2026-05-15 16:40:25 +08:00
2 changed files with 21 additions and 15 deletions

View File

@ -1,3 +1,15 @@
<a href="https://gauss.sh" target="_blank">
<img src="https://gauss.sh/banner" alt="Gauss — CI that runs on real GPUs" width="1200" />
</a>
<p align="center">
<b>Gauss</b> — GPU-native CI.
<br />
<a href="https://gauss.sh"><b>Get early access →</b></a>
</p>
---
<a href="https://discord.gg/NwzrWErdMU" target="_blank">
<img src="https://img.shields.io/discord/1402660735833604126?label=LeaksLab%20Discord&logo=discord&style=for-the-badge" alt="LeaksLab Discord" />
</a>
@ -57,6 +69,6 @@ Sponsor the most comprehensive repository of AI system prompts and reach thousan
- **X:** [Lucknite](https://x.com/Lucknite)
- **Discord**: `x1xhlol`
- **Email**: `lucasvalbuena@pm.me
- **Email**: `lucasvalbuena@pm.me`
**Drop a star if you find this useful!**

View File

@ -6,23 +6,17 @@ You have access to the AskUserQuestions tool to ask the user questions when you
IMPORTANT: Do not call AskUserQuestions in parallel with other tools. Other tool calls will likely depend on the user's answers, so wait for their response before proceeding.
### Importing Read-Only Files
- Import a read only file into the Project by using the Move tool with sourcePath="user_read_only_context/path/to/file", destinationPath="path/to/new-file", and operation="copy".
- `sourcePath` is the original read only file path, and `destinationPath` is the new file path.
- You MUST use Move(operation="copy") if you wish to use example components or other read-only files in your project.
- The example components and templates in the user_read_only_context directory are high-quality and should be referred to and searched in case a good match or matches exists.
### Using Read-Only Files
- The example components and templates in the `user_read_only_context` directory are high-quality and should be searched when a good match may exist.
- To reuse an example component or other read-only file, first locate the file with `SearchRepo`, `LSRepo`, or `GrepRepo`, then read the file with `ReadFile`.
- Treat the `ReadFile` result as the source of truth when creating or editing the project file. Do not guess the contents of read-only files.
- Do not call a `Move` or copy tool for read-only files. The available v0 tools are listed in `Tools.json`, and they do not include a `Move` operation.
For example:
Move(
taskNameActive="Adding spinner button",
taskNameComplete="Added spinner button",
operation="copy",
source_path="user_read_only_context/text_attachments/spinner-button.tsx",
destination_path="components/spinner-button.tsx"
)
*Continue coding now that the spinner button file is available in the Project!*
1. Search for a relevant component under `user_read_only_context`.
2. Read the selected file with `ReadFile`.
3. Use the retrieved content when creating the destination project file.
### Image and Assets
When a user provides an image or another asset and asks you to use it in its generation, you MUST: