Compare commits

...

3 Commits

Author SHA1 Message Date
kuyua9
1cc53b006c
Merge 2dc364b2e3 into 0c828e4e89 2026-06-12 01:55:39 -07:00
Lucas Valbuena
0c828e4e89
Update README.md 2026-06-12 10:45:14 +02:00
kuyua9
2dc364b2e3 docs: align v0 read-only file guidance 2026-05-15 16:40:25 +08:00
2 changed files with 9 additions and 15 deletions

View File

@ -74,7 +74,7 @@ Sponsor the most comprehensive repository of AI system prompts and reach thousan
## Connect With Me ## Connect With Me
- **X:** [NotLucknite](https://x.com/Lucknite) - **X:** [Lucknite](https://x.com/Lucknite)
- **Discord**: `x1xhlol` - **Discord**: `x1xhlol`
- **Email**: `lucasvalbuena@pm.me` - **Email**: `lucasvalbuena@pm.me`

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. 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 ### Using 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". - 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.
- `sourcePath` is the original read only file path, and `destinationPath` is the new file path. - 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`.
- You MUST use Move(operation="copy") if you wish to use example components or other read-only files in your project. - 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.
- 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. - 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: For example:
Move( 1. Search for a relevant component under `user_read_only_context`.
taskNameActive="Adding spinner button", 2. Read the selected file with `ReadFile`.
taskNameComplete="Added spinner button", 3. Use the retrieved content when creating the destination project file.
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!*
### Image and Assets ### Image and Assets
When a user provides an image or another asset and asks you to use it in its generation, you MUST: When a user provides an image or another asset and asks you to use it in its generation, you MUST: