Skip to content
Back to skills

Add

ASecurity

Create a new Clawness rule from a natural language description. Describe what you want enforced and this will generate the YAML rule file with proper tags, triggers, and examples.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentspythonreactnextjs

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add fullymiddleaged/Clawness --skill add --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fullymiddleaged-add/badge)](https://www.skillsdirectory.com/skills/fullymiddleaged-add)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add
description: >
  Create a new Clawness rule from a natural language description.
  Describe what you want enforced and this will generate the YAML
  rule file with proper tags, triggers, and examples.
---

# Create a New Rule

Generate a Clawness rule from the user's description.

## Process

1. **Understand the intent** — The user describes a coding practice they
   want enforced. Parse their description for:
   - What domain this falls under (nextjs, react, python, etc.)
   - Whether it should be mandatory (always enforced) or ranked
   - The severity (error for "must do", warning for "should do", info for "consider")

2. **Generate the YAML** — Create a properly formatted rule:
   ```yaml
   id: DOMAIN-DESCRIPTIVE-NNN
   domain: detected_domain
   severity: error|warning|info
   tags: [relevant, search, keywords]
   triggers: [code, tokens, that, signal, relevance]
   when: Clear condition for when this rule applies.
   rule: >
     The actual instruction, written clearly and specifically.
   violation: "Concrete example of what NOT to do"
   correct: "Concrete example of what TO do"
   ```

3. **Tags and triggers are critical** — These drive retrieval. Include:
   - The concepts involved (e.g., "caching", "auth", "state")
   - The code tokens someone would use (e.g., "useEffect", "fetch", "router")
   - The framework/library names (e.g., "nextjs", "prisma", "zod")

4. **Save the rule** — Determine the right location:
   - If `.clawness/rules/` exists in the project, save there (project-scoped)
   - Otherwise, save to the global rules directory
   - Ask the user to confirm before writing

5. **Test it** — Run a test query to verify the rule would be retrieved
   for the kind of prompt it should match.

## Example

User says: "Always use server actions for form mutations in Next.js"

→ Generates a rule with:
- domain: nextjs
- tags: [server-actions, forms, mutations, use-server]
- triggers: [form, submit, action, mutation, create, update, delete]
- Saves to the appropriate rules directory

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.