MCPcopy Create free account
hub / github.com/Louisym/MiniCC / _doing_tasks_section

Method _doing_tasks_section

mini_claude_code/prompt.py:326–335  ·  view source on GitHub ↗

源码: prompt.rs:468-482

()

Source from the content-addressed store, hash-verified

324
325 @staticmethod
326 def _doing_tasks_section() -> str:
327 """源码: prompt.rs:468-482"""
328 items = [
329 "Read relevant code before changing it and keep changes tightly scoped.",
330 "Do not add speculative abstractions or unrelated cleanup.",
331 "Do not create files unless they are required to complete the task.",
332 "If an approach fails, diagnose the failure before switching tactics.",
333 "Be careful not to introduce security vulnerabilities.",
334 ]
335 return "# Doing tasks\n" + "\n".join(f" - {item}" for item in items)
336
337 @staticmethod
338 def _actions_section() -> str:

Callers 1

buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected