feat: add YAML frontmatter, bitcoin-conventions skill, path rules, and Gitea CI
- Added YAML frontmatter to all 8 polish-* skills and sweep skill so Claude can auto-invoke them - New bitcoin-conventions skill with PROUX UX methodology, sats display, address validation, Tor preferences, Lightning patterns - Path-specific rules for containers (security hardening) and frontend (Vue/glassmorphism conventions) - Gitea Actions: nightly security review and weekly dependency audit Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
2e289d6d7d
commit
07e46dce56
@@ -0,0 +1,19 @@
|
||||
---
|
||||
globs:
|
||||
- "**/container/**"
|
||||
- "**/manifest*"
|
||||
- "**/*podman*"
|
||||
- "**/Containerfile"
|
||||
- "**/Dockerfile"
|
||||
---
|
||||
|
||||
# Container Security Rules (Archipelago)
|
||||
|
||||
- `readonly_root: true` always — containers must not write to their root filesystem
|
||||
- Drop ALL capabilities, add only what's required (`--cap-drop=ALL --cap-add=...`)
|
||||
- Run as non-root user (UID > 1000): `--user 1001:1001`
|
||||
- Set `--security-opt=no-new-privileges:true`
|
||||
- Pin image versions by SHA256 digest, never use `:latest` tag
|
||||
- Mount secrets as read-only files, never pass as environment variables when possible
|
||||
- Set memory and CPU limits on all containers
|
||||
- Use `--network=none` unless network access is required
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
globs:
|
||||
- "**/neode-ui/**"
|
||||
- "**/*.vue"
|
||||
---
|
||||
|
||||
# Frontend Rules (Archipelago)
|
||||
|
||||
- Always use `<script setup lang="ts">` in Vue components
|
||||
- Global CSS classes go in `style.css`, never inline Tailwind utilities
|
||||
- Use `.glass-button` for ALL buttons — `.gradient-button` is BANNED
|
||||
- Use Pinia stores for shared state, never provide/inject for cross-component data
|
||||
- Every async view needs: loading state, empty state, and error state
|
||||
- Trim all text inputs before submission
|
||||
- Disable submit buttons during async operations
|
||||
- Use `errorMessage` ref pattern for user-visible errors, not just console.log
|
||||
Reference in New Issue
Block a user