Dianel555/DSkills / skills/agent-wiki
agent-wiki
UnverifiedIncremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'.
tests/test_secure_temporary_writes.py
View on GitHubimport pytest
from agent_wiki import boundary, cache, config
@pytest.mark.parametrize("payload", ["new text", b"new bytes"])
def test_atomic_write_does_not_touch_existing_predictable_temp(tmp_path, payload):
boundary.bind(tmp_path)
target = tmp_path / "output.txt"
planted = tmp_path / "output.txt.tmp"
planted.write_text("untouched", encoding="utf-8")
config.atomic_write_text(target, payload)
assert planted.read_text(encoding="utf-8") == "untouched"
assert target.read_bytes() == (payload.encode() if isinstance(payload, str) else payload)
def test_cache_save_does_not_touch_existing_predictable_temp(tmp_path):
wiki = tmp_path / "wiki"
wiki.mkdir()
planted = wiki / ".wiki-cache.json.tmp"
planted.write_text("untouched", encoding="utf-8")
cache.save(tmp_path, {"version": 1, "sources": {}})
assert planted.read_text(encoding="utf-8") == "untouched"
assert cache.load(tmp_path) == {"version": 1, "sources": {}}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |