Skip to content
Back to skills

030 There 5902705b

ASecurity

if there's a dbt YAML file that has a source defined but the source has no models defined, you'll see this error

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
tools

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 030-there_5902705b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 030 There 5902705b?

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

Security grade badge for 030 There 5902705b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-030-there-5902705b/badge)](https://www.skillsdirectory.com/skills/tools-only-030-there-5902705b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# sources defined in YAML without tables defined

## PROBLEM
if there's a dbt YAML file that has a source defined but the source has no models defined, you'll see this error

```
warning: dbt0102: No tables defined for source 'my_source' in file 'models/staging/my_source/_my_source__sources.yml'
```

## SOLUTION

1. you can delete it if there's no config on the source
2. if there is config for the source (e.g. freshness) you have to move the config to `dbt_project.yml` under the `sources:` key. after that you can delete that source definition in YAML.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.