Skip to content
Back to skills

Cocogrove

ASecurity

List all patterns in the CocoGrove pattern library (.cocoplus/grove/patterns/). Optional tag filter: $patterns view [tag].

  • 724 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add Snowflake-Labs/cocoplus --skill cocogrove --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cocogrove?

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

Security grade badge for Cocogrove
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-cocogrove-01d66183/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-cocogrove-01d66183)

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: "patterns-view"
description: "List all patterns in the CocoGrove pattern library (.cocoplus/grove/patterns/). Optional tag filter: $patterns view [tag]."
version: "1.0.0"
author: "CocoPlus"
tags:
  - cocoplus
  - cocogrove
---

Your objective is to list CocoGrove patterns.

Before proceeding, verify that `.cocoplus/` exists.
If not: output "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.

List all `.md` files in `.cocoplus/grove/patterns/`. If directory is empty:
Output: "No patterns in CocoGrove yet. Use `$patterns promote [finding-id]` to promote a CocoCupper finding."
Then stop.

Parse optional tag filter: `$patterns view [tag]`

For each pattern file, read the YAML frontmatter to extract: name, domain, tags, summary.
If a tag filter is provided, only include patterns whose tags include the filter value.

Output:
```
# CocoGrove Pattern Library

| Pattern | Domain | Tags | Summary |
|---------|--------|------|---------|
[one row per pattern]

Total: [N] patterns. Use pattern names in prompts by referencing .cocoplus/grove/patterns/[name].md
```

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| List files by filename without reading YAML frontmatter | Filenames alone don't show domain or tags; the table requires frontmatter fields for meaningful output |
| Ignore the tag filter and show all patterns | Filtering is the primary value for large libraries; ignoring it defeats the purpose of the command |

## Exit Criteria

- [ ] A table with columns Pattern, Domain, Tags, Summary is output for each matching pattern file
- [ ] If a tag filter was provided, only patterns whose `tags` include the filter value are shown
- [ ] Total pattern count is shown at the bottom of the output

Files in this skill

  • grove-glossary-view.skill.md2.9 KB
  • grove-glossary.skill.md5.1 KB
  • grove-score.skill.md1.5 KB
  • patterns-promote.skill.md5.7 KB
  • patterns-view.skill.md1.8 KB

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…