@@ -402,7 +402,7 @@ def render_skill_command(
402402 source_file : str ,
403403 project_root : Path ,
404404 extension_id : Optional [str ] = None ,
405- author : str = "github-spec-kit" ,
405+ author : object = "github-spec-kit" ,
406406 ) -> str :
407407 """Render a command override as a SKILL.md file.
408408
@@ -443,15 +443,18 @@ def build_skill_frontmatter(
443443 skill_name : str ,
444444 description : str ,
445445 source : str ,
446- author : str = "github-spec-kit" ,
446+ author : object = "github-spec-kit" ,
447447 ) -> dict :
448448 """Build consistent SKILL.md frontmatter across all skill generators."""
449+ normalized_author = (
450+ "github-spec-kit" if author is None or author == "" else str (author )
451+ )
449452 skill_frontmatter = {
450453 "name" : skill_name ,
451454 "description" : description ,
452455 "compatibility" : "Requires spec-kit project structure with .specify/ directory" ,
453456 "metadata" : {
454- "author" : author ,
457+ "author" : normalized_author ,
455458 "source" : source ,
456459 },
457460 }
@@ -621,7 +624,7 @@ def register_commands(
621624 _resolved_dir : Optional [Path ] = None ,
622625 link_outputs : bool = False ,
623626 extension_id : Optional [str ] = None ,
624- author : str = "github-spec-kit" ,
627+ author : object = "github-spec-kit" ,
625628 ) -> List [str ]:
626629 """Register commands for a specific agent.
627630
@@ -1068,7 +1071,7 @@ def register_commands_for_all_agents(
10681071 create_missing_active_skills_dir : bool = False ,
10691072 extension_id : Optional [str ] = None ,
10701073 only_agent : Optional [str ] = None ,
1071- author : str = "github-spec-kit" ,
1074+ author : object = "github-spec-kit" ,
10721075 ) -> Dict [str , List [str ]]:
10731076 """Register commands for all detected agents in the project.
10741077
0 commit comments