Skip to content
Skills Library
Programming · Review & audit

lookup-warn

/lookup-warn

Get context warnings for a file based on its extension and name. Surfaces known gotchas before the user hits them. Triggers on: warn me, gotchas, pitfalls, what should I watch out for, check this file.

Repository
attune-ai ↗
Licence
Apache-2.0
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Get context warnings for a file based on its extension and name. Surfaces known gotchas before the user hits them. Triggers on: warn me, gotchas, pitfalls, what should I watch out for, check this file.

Arguments

/lookup-warn <file-path>
Original author description

Get context warnings for a file based on its extension and name. Surfaces known gotchas before the user hits them. Triggers on: warn me, gotchas, pitfalls, what should I watch out for, check this file.

How it works

  1. When to use
  2. Scoping
  3. Execution
  4. Output Format
Original SKILL.md headings · 61 lines, 268 words
SKILL.md preview
---
name: lookup-warn
description: "Get context warnings for a file based on its extension and name. Surfaces known gotchas before the user hits them. Triggers on: warn me, gotchas, pitfalls, what should I watch out for, check this file."
argument-hint: "<file-path>"
---

# Lookup Warn

File-context warnings for the file the user is editing or
about to edit. Uses the `lookup_warn` MCP tool, which maps
the file extension and name to relevant tags and returns
the top N matching warning and task templates.

## When to use

- User is about to edit a file and wants to know the pitfalls
- User asks "what should I watch out for" on a specific file
- IDE selection changed — proactively surface warnings

## Scoping

If no file path is provided, use `AskUserQuestion`:

```yaml
question: "Which file should I check?"
header: "lookup-warn"
options:
  - label: "The file I'm currently viewing"
    description: "Use the IDE selection (if one is active)"
  - label: "A different file"
    description: "Provide a path relative to the project root"
```

If an IDE selection is available, prefer it without asking.

## Execution

1. Call the MCP tool `lookup_warn` with:
   - `file_path` — the user's file
   - `max_results` — 3 by default, or what the user asked for
   - `template_dir` — `.help/templates` if the project has one,
     otherwise omit
2. If `count` is 0, tell the user there are no known warnings
   for this file type and suggest running `lookup-list` to
   browse topics manually.
3. Print each entry in the `warnings` array as a list item.

## Output Format

```markdown
## Warnings for `<file-path>`

3 relevant topics:

1. <first warning content>

2. <second warning content>

3. <third warning content>

*To look up any of these topics in more detail, say 'look up X'.*
```

Keep entries compact — the templates are already rendered.
Don't paraphrase the tool output.

Versions

The database has no other skills named lookup-warn.

Database snapshot: 13.11.2026 · package version f37ba31ec859 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100customerio-known-pitfalls
    Identify and avoid Customer.io anti-patterns and gotchas. Use when reviewing integrations, onboarding developers, or auditing existing Customer.io code. Trigger: "customer.io mistakes", "customer.io anti-patterns", "customer.io gotchas", "customer.io pitfalls", "customer.io code review".
  • 100cursor-known-pitfalls
    Manage avoid common Cursor IDE pitfalls and mistakes. Triggers on "cursor pitfalls", "cursor mistakes", "cursor gotchas", "cursor issues", "cursor problems". Use when working with cursor known pitfalls functionality. Trigger with phrases like "cursor known pitfalls", "cursor pitfalls", "cursor".
  • 100cursor-known-pitfalls
    Avoid common Cursor IDE pitfalls: AI feature mistakes, security gotchas, configuration errors, and team workflow issues. Triggers on "cursor pitfalls", "cursor mistakes", "cursor gotchas", "cursor issues", "cursor problems", "cursor tips".
  • 100nostics-migration
    Migrate a library's user-facing errors, warnings, and logs to nostics diagnostics. Use when replacing console.warn/console.error, warn() helpers, or thrown Errors with stable diagnostic codes, or when designing or extending a defineDiagnostics catalog.
  • 90logging
    日志规范——Rust `log::info!/log::warn!/log::error!` 门面经 tauri-plugin-log 双写落盘 / 前端 `console.*` 经官方插件 JS 桥自动转发、info/warn/error 级别语义、落盘位置与降级、必须覆盖的链路与禁止事项。添加或修改日志、排查日志缺失、审查日志质量时使用。触发词:日志、logging、log::info、log::warn、eprintln、console.log、模块前缀、打日志、trace、tauri-plugin-log。
  • 90okhp3-openclaw-mermaid-lint
    Check a Mermaid file against documented renderer gotchas before it goes into a repo or gets published. Use when asked to "check this diagram", "lint this mermaid file", or before committing a .mmd/.mermaid file.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.