@stillrivercode/agentic-workflow-template
Version:
NPM package to create AI-powered GitHub workflow automation projects
71 lines (49 loc) • 1.73 kB
Markdown
**Category**: Core Commands
**Definition**: When a user issues a `CREATE` command, they are asking you to generate new code, files, or other project assets.
- `CREATE a new React component called 'LoginButton' with a click handler that calls the 'handleLogin' function.`
- `CREATE a database migration script to add user preferences table`
- `CREATE unit tests for the authentication service`
````markdown
Complete details of the newly created asset including implementation, integration notes, and next steps.
- **Path**: `/path/to/new/file.ext`
- **Type**: [Component/Service/Test/Migration/etc.]
```javascript
// Complete code implementation with comments
export const LoginButton = ({ onLogin, disabled = false }) => {
const handleClick = () => {
if (!disabled && onLogin) {
onLogin();
}
};
return (
<button onClick={handleClick} disabled={disabled} className="login-button">
Login
</button>
);
};
```
````
- How this integrates with existing code
- Dependencies that need to be installed
- Configuration changes required
- Suggested follow-up actions
- Testing recommendations
- Documentation updates needed
```
- Follow existing project conventions and patterns
- Include necessary imports and dependencies
- Provide complete, functional implementations
- Consider error handling and edge cases
- [**test this**](../quality-assurance/test-this.md) - Generate tests for created code
- [**document this**](../documentation/document-this.md) - Document newly created components
```