| 1 | [ |
| 2 | { |
| 3 | "kind": "Listing", |
| 4 | "data": { |
| 5 | "children": [ |
| 6 | { |
| 7 | "kind": "t3", |
| 8 | "data": { |
| 9 | "title": "Best practices for Claude Code skills - comprehensive guide", |
| 10 | "score": 847, |
| 11 | "num_comments": 156, |
| 12 | "upvote_ratio": 0.94, |
| 13 | "created_utc": 1705363200, |
| 14 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/", |
| 15 | "selftext": "After building 20+ skills for Claude Code, here are my key learnings..." |
| 16 | } |
| 17 | } |
| 18 | ] |
| 19 | } |
| 20 | }, |
| 21 | { |
| 22 | "kind": "Listing", |
| 23 | "data": { |
| 24 | "children": [ |
| 25 | { |
| 26 | "kind": "t1", |
| 27 | "data": { |
| 28 | "score": 234, |
| 29 | "created_utc": 1705366800, |
| 30 | "author": "skill_expert", |
| 31 | "body": "Great guide! One thing I'd add: always use explicit tool permissions in your SKILL.md. Don't default to allowing everything.", |
| 32 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment1/" |
| 33 | } |
| 34 | }, |
| 35 | { |
| 36 | "kind": "t1", |
| 37 | "data": { |
| 38 | "score": 189, |
| 39 | "created_utc": 1705370400, |
| 40 | "author": "claude_dev", |
| 41 | "body": "The context: fork tip is gold. I was wondering why my heavy research skill was slow - it was blocking the main thread!", |
| 42 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment2/" |
| 43 | } |
| 44 | }, |
| 45 | { |
| 46 | "kind": "t1", |
| 47 | "data": { |
| 48 | "score": 145, |
| 49 | "created_utc": 1705374000, |
| 50 | "author": "ai_builder", |
| 51 | "body": "For anyone starting out: begin with a simple skill that just runs one bash command. Once that works, build up complexity gradually.", |
| 52 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment3/" |
| 53 | } |
| 54 | }, |
| 55 | { |
| 56 | "kind": "t1", |
| 57 | "data": { |
| 58 | "score": 98, |
| 59 | "created_utc": 1705377600, |
| 60 | "author": "dev_tips", |
| 61 | "body": "The --mock flag pattern for testing without API calls is essential. I always build that in from day one now.", |
| 62 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment4/" |
| 63 | } |
| 64 | }, |
| 65 | { |
| 66 | "kind": "t1", |
| 67 | "data": { |
| 68 | "score": 76, |
| 69 | "created_utc": 1705381200, |
| 70 | "author": "code_writer", |
| 71 | "body": "Thanks for sharing! Question: how do you handle API key storage securely in skills?", |
| 72 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment5/" |
| 73 | } |
| 74 | }, |
| 75 | { |
| 76 | "kind": "t1", |
| 77 | "data": { |
| 78 | "score": 65, |
| 79 | "created_utc": 1705384800, |
| 80 | "author": "security_minded", |
| 81 | "body": "I use ~/.config/skillname/.env with chmod 600. Never hardcode keys, and definitely don't commit them!", |
| 82 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment6/" |
| 83 | } |
| 84 | }, |
| 85 | { |
| 86 | "kind": "t1", |
| 87 | "data": { |
| 88 | "score": 52, |
| 89 | "created_utc": 1705388400, |
| 90 | "author": "helpful_user", |
| 91 | "body": "The caching pattern you described saved me so much on API costs. 24h TTL is perfect for most research skills.", |
| 92 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment7/" |
| 93 | } |
| 94 | }, |
| 95 | { |
| 96 | "kind": "t1", |
| 97 | "data": { |
| 98 | "score": 34, |
| 99 | "created_utc": 1705392000, |
| 100 | "author": "newbie_coder", |
| 101 | "body": "This is exactly what I needed. Starting my first skill this weekend!", |
| 102 | "permalink": "/r/ClaudeAI/comments/abc123/best_practices_for_claude_code_skills/comment8/" |
| 103 | } |
| 104 | } |
| 105 | ] |
| 106 | } |
| 107 | } |
| 108 | ] |
| 109 |