Skills
A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.
SKILL.md
--- name: gdtest-skill-config description: > A streaming toolkit with enriched skill configuration. Use when writing Python code that uses the gdtest_skill_config package. license: MIT compatibility: Requires Python >=3.10. --- # gdtest_skill_config A streaming toolkit with enriched skill configuration ## Installation ```bash pip install gdtest-skill-config ``` ## When to use what | Need | Use | |------|-----| | | `` | | | `` | | | `` | | | `` | ## API overview ### Classes Core classes - `Stream`: A lazy stream reader - `Sink`: A buffered output sink ### Stream Methods Methods for the Stream class - `Stream.__enter__` - `Stream.__exit__` - `Stream.read` - `Stream.close` - `Stream.map` - `Stream.filter` ### Functions Public functions - `batch`: Yield items from an iterable in fixed-size batches ## Gotchas 1. Always close streams with `stream.close()` or use a context manager. 2. The `batch()` generator is lazy — it won't pull data until iterated. 3. Default chunk size is 1024 bytes; increase for large payloads. ## Best practices - Use `with Stream(source) as s:` for automatic cleanup. - Prefer `batch()` over manual iteration for memory efficiency. - Set `timeout` explicitly in production to avoid hangs. ## Resources - [llms.txt](llms.txt) — Indexed API reference for LLMs - [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs - [Source code](https://github.com/test-org/gdtest-skill-config)