Skip to content

Rewrite SKILLS/ as flat Markdown reference files and extend examples#552

Merged
martin-majlis merged 4 commits into
masterfrom
update-skills
Apr 10, 2026
Merged

Rewrite SKILLS/ as flat Markdown reference files and extend examples#552
martin-majlis merged 4 commits into
masterfrom
update-skills

Conversation

@martin-majlis
Copy link
Copy Markdown
Owner

Summary

  • SKILLS/ rewritten: replaced 6 per-skill directories (each with SKILL.md, sync.py, async.py, cli.sh) with 4 flat Markdown files in the style of the Anthropic skills repo: README.md, python-sync.md, python-async.md, bash.md — inline code snippets per feature, no separate script files
  • Examples extended: example_sync.py and example_async.py now print more properties when iterating over images (added size, mediatype, timestamp, descriptionurl) and pages (batch coords show per-item lat/lon; batch images show first titles; search results include timestamp and snippet; geosearch includes primary)
  • New CLI example: examples/example_cli.sh mirrors the Python examples section-by-section, covering all 16 feature areas via wikipedia-api commands

Changed Files

File Change
SKILLS/README.md New — installation, client init, quick start
SKILLS/python-sync.md New — full synchronous API reference
SKILLS/python-async.md New — full asynchronous API reference with sync/async comparison table
SKILLS/bash.md New — full CLI command reference
SKILLS/*/ (6 dirs) Deleted — old per-skill directory layout
examples/example_sync.py Extended image/search/geo/batch output
examples/example_async.py Extended image/search/geo/batch output (async)
examples/example_cli.sh New — CLI equivalent of Python examples

Test plan

  • make run-pre-commit passes (verified)
  • examples/example_sync.py runs without errors against live Wikipedia
  • examples/example_async.py runs without errors against live Wikipedia
  • examples/example_cli.sh runs without errors with wikipedia-api installed

🤖 Generated with Claude Code

martin-majlis and others added 3 commits April 10, 2026 23:54
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.04%. Comparing base (987a256) to head (e8aad27).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #552   +/-   ##
=======================================
  Coverage   94.04%   94.04%           
=======================================
  Files          76       76           
  Lines        3373     3373           
=======================================
  Hits         3172     3172           
  Misses        201      201           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@martin-majlis martin-majlis merged commit 7baf185 into master Apr 10, 2026
42 of 43 checks passed
@martin-majlis martin-majlis deleted the update-skills branch April 10, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant