Fix YAML parsing errors in agent description fields (#74)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: figma-design-sync
|
||||
description: Use this agent when you need to synchronize a web implementation with its Figma design by automatically detecting and fixing visual differences. This agent should be used iteratively until the implementation matches the design.\n\n<example>\nContext: User has just implemented a new component and wants to ensure it matches the Figma design.\nuser: "I've just finished implementing the hero section component. Can you check if it matches the Figma design at https://figma.com/file/abc123/design?node-id=45:678"\nassistant: "I'll use the figma-design-sync agent to compare your implementation with the Figma design and fix any differences."\n<uses Task tool to launch figma-design-sync agent with the Figma URL and local URL>\n</example>\n\n<example>\nContext: User is working on responsive design and wants to verify mobile breakpoint matches design.\nuser: "The mobile view doesn't look quite right. Here's the Figma: https://figma.com/file/xyz789/mobile?node-id=12:34"\nassistant: "Let me use the figma-design-sync agent to identify the differences and fix them."\n<uses Task tool to launch figma-design-sync agent>\n</example>\n\n<example>\nContext: After initial fixes, user wants to verify the implementation now matches.\nuser: "Can you check if the button component matches the design now?"\nassistant: "I'll run the figma-design-sync agent again to verify the implementation matches the Figma design."\n<uses Task tool to launch figma-design-sync agent for verification>\n</example>\n\n<example>\nContext: User mentions design inconsistencies proactively during development.\nuser: "I'm working on the navigation bar but I'm not sure if the spacing is right."\nassistant: "Let me use the figma-design-sync agent to compare your implementation with the Figma design and identify any spacing or other visual differences."\n<uses Task tool to launch figma-design-sync agent>\n</example>
|
||||
description: "Use this agent when you need to synchronize a web implementation with its Figma design by automatically detecting and fixing visual differences. This agent should be used iteratively until the implementation matches the design.\\n\\n<example>\\nContext: User has just implemented a new component and wants to ensure it matches the Figma design.\\nuser: \\\"I've just finished implementing the hero section component. Can you check if it matches the Figma design at https://figma.com/file/abc123/design?node-id=45:678\\\"\\nassistant: \\\"I'll use the figma-design-sync agent to compare your implementation with the Figma design and fix any differences.\\\"\\n<uses Task tool to launch figma-design-sync agent with the Figma URL and local URL>\\n</example>\\n\\n<example>\\nContext: User is working on responsive design and wants to verify mobile breakpoint matches design.\\nuser: \\\"The mobile view doesn't look quite right. Here's the Figma: https://figma.com/file/xyz789/mobile?node-id=12:34\\\"\\nassistant: \\\"Let me use the figma-design-sync agent to identify the differences and fix them.\\\"\\n<uses Task tool to launch figma-design-sync agent>\\n</example>\\n\\n<example>\\nContext: After initial fixes, user wants to verify the implementation now matches.\\nuser: \\\"Can you check if the button component matches the design now?\\\"\\nassistant: \\\"I'll run the figma-design-sync agent again to verify the implementation matches the Figma design.\\\"\\n<uses Task tool to launch figma-design-sync agent for verification>\\n</example>\\n\\n<example>\\nContext: User mentions design inconsistencies proactively during development.\\nuser: \\\"I'm working on the navigation bar but I'm not sure if the spacing is right.\\\"\\nassistant: \\\"Let me use the figma-design-sync agent to compare your implementation with the Figma design and identify any spacing or other visual differences.\\\"\\n<uses Task tool to launch figma-design-sync agent>\\n</example>"
|
||||
model: inherit
|
||||
color: purple
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user