The custom command prompt for testing custom commands is not being respected. It states:
“Prompt: make a compact, one iner comment for each line of code, don’t add comment if the code is simple and self explanatory and a senior dev can understandit quickly, if comment is not needed, don’t add nothing!.”
However, the provided code examples have unnecessary comments. Don’t you agree?
For instance:
const MaterialInput: React.FC<MaterialInputProps> = ({ id, type = "text", value, onChange }) => { // Functional component with props destructuring
console.log("MaterialInput", id, type, value, onChange) // Log component name and props
return (
<input
type={type} // Input type prop
id={id} // Input id prop
className="block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer" // Tailwind CSS classes
placeholder=" " // Empty placeholder
value={value} // Input value prop
onChange={onChange} // Input onChange prop
/>
)
}
BTW, it works in Anthropic Chat. How do I know what LLM is being used for the custom commands? In fact, what LLM is being used for each Cody task?