Find and execute inline instructions or pseudo code marked with special tags in code or documentation.
Execute inline `@CLAUDE:` instruction markers found in your recent changes. Use this to automatically implement pseudo-code or directives you've left in your code, then removes the markers. Provide arguments to filter by file or keyword.
/plugin marketplace add cbrake/claude-plugins/plugin install doc-driven-development@cbrakeFind and execute inline instructions or pseudo code marked with special tags in code or documentation.
First, use git diff to identify recently changed files that may contain instruction markers.
Look for instruction markers in the following formats:
@CLAUDE: <instruction or pseudo code> - Single line instruction@CLAUDE-START / @CLAUDE-END - Multi-line instruction or pseudo code blocks// @CLAUDE:, # @CLAUDE:, /* @CLAUDE: */, <!-- @CLAUDE: -->> @CLAUDE: or within code blocks labeled with @CLAUDEThe markers can contain:
When you find instruction markers:
plans/ that is uncommitted (check with git status), update it to reflect what was doneThe instruction markers are meant for surgical, targeted changes. Focus on:
If "$ARGUMENTS" are provided, use them to filter which markers to execute (e.g., file path, keyword). If no arguments provided, process all instruction markers found in uncommitted changes.
After completing all instructions, provide a summary of what was executed and what was changed.