Scaffold archipy utils
Skill SyntaxArc/archipy-plugin/skills/scaffold-archipy-utils
Scaffold or wire a helpers/utils module for an ArchiPy app. Prefer ArchiPy utils before inventing custom ones. Use when adding pure utility helpers.From its SKILL.md
npx -y skills add SyntaxArc/archipy-plugin --skill scaffold-archipy-utilsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
Scaffold ArchiPy Utils
Scope
Only helpers/utils/. Do not create decorators or interceptors here.
Before writing files
Ask:
- Util name / purpose
- Prefer existing ArchiPy util vs custom (
TracingUtils,RateLimitUtils,DatetimeUtils,StringUtils,JWTUtils,PasswordUtils,FileUtils,ErrorUtils,AppUtils, …)
Prefer ArchiPy
If an ArchiPy util fits, show import + usage example and stop — do not duplicate. See ../archipy-docs/reference.md
(Utils section).
Custom util
Create helpers/utils/<name>_utils.py:
from __future__ import annotations
class SlugUtils:
"""Pure string helpers for URL-safe slugs — no I/O."""
@staticmethod
def slugify(value: str) -> str:
"""Return a lowercase hyphenated slug.
Args:
value: Raw display string.
Returns:
Slug suitable for path segments.
"""
cleaned = "".join(ch.lower() if ch.isalnum() else "-" for ch in value.strip())
while "--" in cleaned:
cleaned = cleaned.replace("--", "-")
return cleaned.strip("-")
- Pure functions/classes — no I/O, no DB, no adapters
- Google-style docstrings + full type hints
- Lazy-import optional deps inside functions when needed
- Brief usage snippet in the reply
Docs
- https://syntaxarc.github.io/ArchiPy/tutorials/helpers/
- https://syntaxarc.github.io/ArchiPy/api_reference/
- Bundled skill reference:
../archipy-docs/reference.md(Utils section)