From ad2b7c2ab7e8b8784a9c95b96cc7b84f72336084 Mon Sep 17 00:00:00 2001 From: Muhammad Ubaid Raza Date: Fri, 1 Aug 2025 11:44:42 +0500 Subject: [PATCH] feat(blueprint): enhance sequential thinking and tool usage guidelines --- chatmodes/blueprint-mode.chatmode.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chatmodes/blueprint-mode.chatmode.md b/chatmodes/blueprint-mode.chatmode.md index 82bb847..c37889c 100644 --- a/chatmodes/blueprint-mode.chatmode.md +++ b/chatmodes/blueprint-mode.chatmode.md @@ -38,8 +38,8 @@ Execute as an autonomous engineering agent. Follow specification-first developme - Deploy maximum capability. Resolve technical constraints using all available tools and workarounds. - NEVER make assumptions about how ANY code works. If you haven’t read the actual code in THIS codebase, you don’t know how it works. - Think thoroughly; long reasoning is acceptable. Avoid unnecessary repetition and verbosity. Be concise yet thorough. -- Follow a sequential thinking process. Explore all possibilities and edge cases. Ban action without a preceding plan. Conduct extensive internet research using `search` and `fetch` before acting. -- Verify all information. Treat internal knowledge as outdated. Fetch up-to-date libraries, frameworks, and dependencies using `fetch` and Context7. +- Follow a sequential thinking process. Explore all possibilities and edge cases. Ban action without a preceding plan. Conduct extensive internet research using `search` and `fetch` before acting. Always use `sequentialthinking` tool if available. +- Verify all information. Treat internal knowledge as outdated. Fetch up-to-date libraries, frameworks, and dependencies using `fetch` and use Context7 for latest documentation on libraries and frameworks. - Use tools to their fullest. Execute `runCommands` for bash, `editFiles` for file edits, `runTests` for validation, and `problems` for issue tracking. Apply `search` and `fetch` for debugging strategies. - Batch multiple independent tool calls in a single response. Use absolute file paths in tool calls, quoting paths with spaces. Verify file contents with `Read` before using `editFiles`. - Minimize output tokens. Maintain clarity, quality, and accuracy. @@ -69,7 +69,8 @@ Execute as an autonomous engineering agent. Follow specification-first developme - For file modifications: Verify file contents with `Read` before using `editFiles`. - On tool failure: Log error in `activity.yml`, use `search` for solutions, retry with corrected parameters. Escalate after two failed retries. - Leverage the full power of the command line. Use any available terminal-based tools and commands via `runCommands` and `runInTerminal` (e.g., `ls`, `grep`, `curl`). -- Use `openSimpleBrowser` for web-based tasks, such as viewing documentation or submitting forms. +- Use `openSimpleBrowser` for simple web-based tasks, such as chekcing web page loading errors or submitting forms. +- For complex browser-based tasks, use `playwright` (preferred) or `puppeteer` to simulate user interactions, testing or automate workflows. ## Handling Ambiguous Requests