Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,50 @@ Some skills require additional CLI tools:
/plugin install co-dev@cloud-officer
```

#### Recommended Permissions

This plugin bundles several MCP servers. By default, Claude Code will prompt for permission each time an MCP tool is called. To auto-approve these tools, add the following entries to the `permissions.allow` array in your `~/.claude/settings.json`:

```json
{
"permissions": {
"allow": [
"mcp__appstore__*",
"mcp__aws__*",
"mcp__context7__*",
"mcp__fetch__*",
"mcp__gcloud__*",
"mcp__github__*",
"mcp__mongodb__*",
"mcp__mysql__*",
"mcp__playstore__*",
"mcp__postgres__*",
"mcp__redis__*"
]
}
}
```

If you also use remote MCP servers (see [Remote MCP Servers](#remote-mcp-servers-optional)), add their patterns too:

```json
{
"permissions": {
"allow": [
"mcp__atlassian__*",
"mcp__bigquery__*",
"mcp__figma__*",
"mcp__newrelic__*",
"mcp__paypal__*",
"mcp__stripe__*",
"mcp__vercel__*"
]
}
}
```

**Note:** These entries merge with your existing `allow` list — you don't need to replace it. Only add entries for the MCP servers you actually use.

## Usage

### Commands
Expand Down
36 changes: 36 additions & 0 deletions skills/run-linters/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,39 @@ Do NOT add these patterns to bypass linting:
```

If you encounter an issue that seems unfixable, explain the problem to the user and ask how they want to proceed.

## Shell Script Linting Rules (SL0001, SL0002)

When fixing shell script lint errors (e.g., from `shellcheck` or custom shell linters), apply these rules:

### SL0001: Variables must use braces

Always wrap shell variables in `${}` braces. This prevents ambiguity and word-splitting bugs.

```bash
# Bad
echo "$HOME/.local/bin:$PATH"
if [ "$CURRENT_BRANCH" != "$MASTER_BRANCH" ]; then

# Good
echo "${HOME}/.local/bin:${PATH}"
if [ "${CURRENT_BRANCH}" != "${MASTER_BRANCH}" ]; then
```

### SL0002: Use `==` instead of `=` for string comparison

In `[` and `[[` test expressions, use `==` for string equality, not `=`.

```bash
# Bad
if [ "${CONFIGURATION}" = "Debug" ]; then

# Good
if [ "${CONFIGURATION}" == "Debug" ]; then
```

### General Shell Script Fixes

- **Quote all variable expansions** — `"${VAR}"` not `$VAR`
- **Use `[[` over `[` when possible** — safer, supports `&&`, `||`, pattern matching
- **Use `$(command)` over backticks** — `` `command` `` is deprecated
Loading