Add markdown table justification script and update settings for output effort

This commit is contained in:
2026-02-19 15:42:54 +05:30
parent 0a5730ec1b
commit f4cdc3c7a8
3 changed files with 171 additions and 1 deletions

View File

@@ -32,6 +32,24 @@ Read the rule files from `~/.factory/rules/` and apply them as needed.
When starting work on a project, run `colgrep init` to build the semantic search index. This enables the colgrep skill for semantic code search across the codebase. The index auto-updates on subsequent searches, so `init` only needs to run once per project.
### Markdown Table Justification
To justify markdown tables (ASCII character count justified), use the built-in script:
```bash
# Justify tables in a file (executable with uv shebang)
~/.factory/skills/rules/table_justify.py <file>
# Or via python
python ~/.factory/skills/rules/table_justify.py <file>
# Justify and save to new file
~/.factory/skills/rules/table_justify.py <file> -o <output>
# Justify from stdin
cat table.md | ~/.factory/skills/rules/table_justify.py
```
## Research
- Back all claims with reference code.