Pseudo Elements
Generates creative, fantastical element names & descriptions for worldbuilding and storytelling – boosting imaginative content quickly.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pseudo-elements npx -- -y @trustedskills/pseudo-elements
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pseudo-elements": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pseudo-elements"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to understand and generate CSS pseudo-element code (::before, ::after, ::first-line, etc.). It can create specific visual effects on web pages by manipulating content and styling without modifying the HTML structure. The agent can also explain existing pseudo-element styles or suggest appropriate pseudo-elements for a given design requirement.
When to use it
- Styling Web Pages: Generate CSS code to add decorative elements, tooltips, or custom indicators to web pages.
- Creating Visual Effects: Implement effects like shadows, gradients, or custom borders using
::beforeand::after. - Understanding Existing Code: Analyze existing CSS and explain the purpose of specific pseudo-element rules.
- Generating Design Suggestions: Ask for recommendations on how to achieve a particular visual effect using pseudo-elements.
Key capabilities
- Generates CSS code for various pseudo-elements (::before, ::after, ::first-line, etc.)
- Explains the function of existing pseudo-element styles.
- Suggests appropriate pseudo-elements to achieve specific design goals.
Example prompts
- "Generate CSS to add a glowing border around every paragraph using
::before." - "Explain what this CSS rule does:
p::first-line { font-weight: bold; }" - "How can I create a tooltip with
::after?"
Tips & gotchas
The agent's output relies on accurate descriptions of desired visual effects. Be specific about the styling and placement you want to achieve for best results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.